Create shared / fast track for certain packages
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
pkgbase = aether
|
||||
pkgdesc = Omarchy theming application
|
||||
pkgver = 2.20.2
|
||||
pkgrel = 1
|
||||
url = https://github.com/bjarneo/aether
|
||||
arch = any
|
||||
license = MIT
|
||||
depends = gjs
|
||||
depends = gtk4
|
||||
depends = libadwaita
|
||||
depends = libsoup3
|
||||
depends = imagemagick
|
||||
depends = hyprshade
|
||||
depends = gtk4-layer-shell
|
||||
optdepends = omarchy: Theme application backend
|
||||
source = aether-2.20.2.tar.gz::https://github.com/bjarneo/aether/archive/v2.20.2.tar.gz
|
||||
sha256sums = abdb99aafda647a1fc33e7f45e63d2905cb6727d4f499863ecbcadbe3d59cf44
|
||||
|
||||
pkgname = aether
|
||||
@@ -1,43 +0,0 @@
|
||||
# Maintainer: Bjarne Øverli <bjarne@oever.li>
|
||||
pkgname=aether
|
||||
pkgver=2.20.2
|
||||
pkgrel=1
|
||||
pkgdesc="Omarchy theming application"
|
||||
arch=('any')
|
||||
url="https://github.com/bjarneo/aether"
|
||||
license=('MIT')
|
||||
depends=('gjs' 'gtk4' 'libadwaita' 'libsoup3' 'imagemagick' 'hyprshade' 'gtk4-layer-shell')
|
||||
optdepends=('omarchy: Theme application backend')
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('abdb99aafda647a1fc33e7f45e63d2905cb6727d4f499863ecbcadbe3d59cf44') # Replace with actual checksum after creating GitHub release
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
# Install source files
|
||||
install -dm755 "$pkgdir/usr/share/$pkgname"
|
||||
cp -r src templates shaders "$pkgdir/usr/share/$pkgname/"
|
||||
|
||||
# Create launcher script
|
||||
install -dm755 "$pkgdir/usr/bin"
|
||||
cat > "$pkgdir/usr/bin/aether" << 'EOF'
|
||||
#!/bin/bash
|
||||
cd /usr/share/aether || exit
|
||||
|
||||
# Preload GTK4 Layer Shell to fix linking order issue with libwayland
|
||||
# See: https://github.com/wmww/gtk4-layer-shell/blob/main/linking.md
|
||||
export LD_PRELOAD=/usr/lib/libgtk4-layer-shell.so
|
||||
|
||||
exec gjs -m src/main.js "$@"
|
||||
EOF
|
||||
chmod 755 "$pkgdir/usr/bin/aether"
|
||||
|
||||
# Install desktop entry
|
||||
install -Dm644 li.oever.aether.desktop "$pkgdir/usr/share/applications/li.oever.aether.desktop"
|
||||
|
||||
# Install icon
|
||||
install -Dm644 icon.png "$pkgdir/usr/share/pixmaps/aether.png"
|
||||
|
||||
# Install license
|
||||
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||
}
|
||||
Reference in New Issue
Block a user