diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -2,20 +2,24 @@ # Contributor: Florian Hülsmann <fh@cbix.de> _name=gsjackctl +_uuid=$_name@cbix.de pkgname=gnome-shell-extension-$_name -pkgver=1 +pkgver=2 pkgrel=1 pkgdesc='GNOME Shell JACK Control' arch=(any) url='https://github.com/cbix/gsjackctl' license=(GPL2) groups=(pro-audio) -depends=('gnome-shell>=3.38' jack2-dbus) +depends=() optdepends=('a2jmidid: can be controlled by the extension') -source=("$pkgname-$pkgver.tar.gz::https://github.com/cbix/$_name/archive/refs/tags/v$pkgver.tar.gz") -sha256sums=('d5017d144ef84707530d3ea0260e4a912b68bea9874ea939c9fb5c1e0f8118ec') +source=("$pkgname-$pkgver.zip::https://github.com/cbix/$_name/releases/download/v$pkgver/$_uuid.zip") +sha256sums=('dbf04cdf2beedddbdd3970f5c408159ce85a61754f4dfd953d75ac093f9e1f08') +noextract=($pkgname-$pkgver.zip) package() { - install -d "$pkgdir"/usr/share/gnome-shell/extensions - cp -va $_name-$pkgver "$pkgdir"/usr/share/gnome-shell/extensions/$_name@cbix.de + depends+=('gnome-shell>=3.38' jack2-dbus) + _path="$pkgdir"/usr/share/gnome-shell/extensions/$_uuid + install -d "$_path" + bsdtar -xvof $pkgname-$pkgver.zip -C "$_path" } |