diff options
author | Mark Wagie | 2021-10-30 08:42:18 -0600 |
---|---|---|
committer | Mark Wagie | 2021-10-30 08:42:18 -0600 |
commit | 5ac945286454d1ca3698d6e0282f38edc2fb8f83 (patch) | |
tree | c75d28b6e082ef14077ae8c66ef419dc3e55c8d1 | |
parent | 916a57dc5e1f4ae0f19950ceb8f0915c5aa21794 (diff) | |
download | aur-5ac945286454d1ca3698d6e0282f38edc2fb8f83.tar.gz |
PKGBUILD improvements
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 17 insertions, 17 deletions
@@ -1,7 +1,7 @@ pkgbase = gnome-shell-extension-blur-my-shell-git pkgdesc = Extension that adds a blur look to different parts of the GNOME Shell - pkgver = 9.r6.g597eb90 - pkgrel = 2 + pkgver = 25.r2.gcc973e8 + pkgrel = 1 url = https://github.com/aunetx/blur-my-shell arch = any license = MIT @@ -13,4 +13,3 @@ pkgbase = gnome-shell-extension-blur-my-shell-git sha256sums = SKIP pkgname = gnome-shell-extension-blur-my-shell-git - @@ -1,8 +1,8 @@ # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> pkgname=gnome-shell-extension-blur-my-shell-git _pkgname=blur-my-shell -pkgver=9.r6.g597eb90 -pkgrel=2 +pkgver=25.r2.gcc973e8 +pkgrel=1 pkgdesc="Extension that adds a blur look to different parts of the GNOME Shell" arch=('any') url="https://github.com/aunetx/blur-my-shell" @@ -15,25 +15,26 @@ source=('git+https://github.com/aunetx/blur-my-shell.git') sha256sums=('SKIP') pkgver() { - cd "$srcdir/$_pkgname" - git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + cd "$srcdir/$_pkgname" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "$srcdir/$_pkgname" - make + cd "$srcdir/$_pkgname" + make } package() { - cd "$srcdir/$_pkgname" - _uuid='blur-my-shell@aunetx' + cd "$srcdir/$_pkgname" + _uuid="${_pkgname}@aunetx" + _schema="org.gnome.shell.extensions.$_pkgname.gschema.xml" - install -d "$pkgdir/usr/share/gnome-shell/extensions" - cp -r build "$pkgdir/usr/share/gnome-shell/extensions/$_uuid" + install -d "$pkgdir/usr/share/gnome-shell/extensions/$_uuid" + cp -r build/* "$pkgdir/usr/share/gnome-shell/extensions/$_uuid/" - install -d "$pkgdir/usr/share/glib-2.0/schemas" - ln -s "/usr/share/gnome-shell/extensions/$_uuid/schemas/org.gnome.shell.extensions.$_pkgname.gschema.xml" \ - "$pkgdir/usr/share/glib-2.0/schemas" + install -d "$pkgdir/usr/share/glib-2.0/schemas/" + ln -s "/usr/share/gnome-shell/extensions/$_uuid/schemas/$_schema" \ + "$pkgdir/usr/share/glib-2.0/schemas/" - install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/${pkgname%-git}" + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/${pkgname%-git}" } |