forked from Shinonome/dots-hyprland
46 lines
1.6 KiB
Bash
46 lines
1.6 KiB
Bash
# Modified from AUR package "aylurs-gtk-shell-git" maintained by kotontrion <kotontrion@tutanota.de>
|
|
pkgname=illogical-impulse-agsv1-git
|
|
_pkgname=ii-agsv1
|
|
pkgver=r2.897e59e
|
|
pkgrel=1
|
|
pkgdesc="Aylurs's Gtk Shell (AGS), patched for illogical-impulse dotfiles."
|
|
arch=('x86_64')
|
|
url="https://github.com/clsty/ii-agsv1"
|
|
license=('GPL-3.0-only')
|
|
makedepends=('git' 'gobject-introspection' 'meson' 'npm' 'typescript')
|
|
depends=('gvfs' 'gjs' 'glib2' 'glib2-devel' 'glibc' 'gtk3' 'gtk-layer-shell' 'libpulse' 'pam' 'gnome-bluetooth-3.0' 'gammastep')
|
|
optdepends=('greetd: required for greetd service'
|
|
'libdbusmenu-gtk3: required for systemtray service'
|
|
'libsoup3: required for the Utils.fetch feature'
|
|
'libnotify: required for sending notifications'
|
|
'networkmanager: required for network service'
|
|
'power-profiles-daemon: required for powerprofiles service'
|
|
'upower: required for battery service')
|
|
conflicts=('illogical-impulse-agsv1' 'aylurs-gtk-shell' 'aylurs-gtk-shell-git')
|
|
backup=('etc/pam.d/ags')
|
|
source=("git+${url}.git")
|
|
sha256sums=('SKIP'
|
|
'SKIP')
|
|
|
|
pkgver(){
|
|
cd $srcdir/$_pkgname
|
|
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
}
|
|
|
|
prepare() {
|
|
cd $srcdir/$_pkgname
|
|
}
|
|
|
|
build() {
|
|
cd $srcdir/$_pkgname
|
|
npm install
|
|
arch-meson build --libdir "lib/$_pkgname" -Dbuild_types=true
|
|
meson compile -C build
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$_pkgname
|
|
meson install -C build --destdir "$pkgdir"
|
|
ln -sf /usr/share/com.github.Aylur.ags/com.github.Aylur.ags ${pkgdir}/usr/bin/agsv1
|
|
}
|