diff options
author | Adrian Perez de Castro | 2019-05-20 00:09:34 +0300 |
---|---|---|
committer | Adrian Perez de Castro | 2019-05-20 00:09:34 +0300 |
commit | 4cf39e0bb0f625dc20aa7c37c57492fa65bc9293 (patch) | |
tree | 6ca7524ea75785474439401223fa0c4535553e50 | |
parent | aa7e958da90ef03aae51373639ef38be06807407 (diff) | |
download | aur-4cf39e0bb0f625dc20aa7c37c57492fa65bc9293.tar.gz |
Bump pkgrel
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 30 |
3 files changed, 24 insertions, 14 deletions
@@ -1,7 +1,7 @@ pkgbase = zuki-themes-git pkgdesc = A selection of themes for GTK3, gnome-shell and more. pkgver = r256.5cc9f1c - pkgrel = 1 + pkgrel = 2 url = https://github.com/lassekongo83/zuki-themes arch = any license = GPL3 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..b9e79eeba75b --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +/pkg/ +/src/ +/*.log +/*.tar +/*.tar.* +/zuki-themes-git @@ -2,28 +2,32 @@ # Contributor: martinjlowm <martin {at} martinjlowm {dot} dk> pkgname=zuki-themes-git -pkgver=r220.812237a -pkgrel=1 +pkgver=r256.5cc9f1c +pkgrel=2 pkgdesc="A selection of themes for GTK3, gnome-shell and more." -arch=('any') -url="https://github.com/lassekongo83/zuki-themes" -license=('GPL3') -depends=('gtk-engine-murrine' 'gtk-engines') -makedepends=('git') -conflicts=('zukitwo-themes') +arch=(any) +url=https://github.com/lassekongo83/zuki-themes +license=(GPL3) +depends=(gtk-engine-murrine gtk-engines) +makedepends=(git meson ninja) +conflicts=(zukitwo-themes) optdepends=('gnome-themes-standard: Required for the GTK3 theme' 'ttf-droid: Font family for the Gnome Shell theme') -install='firefox-theme.install' source=("${pkgname}::git+${url}") sha512sums=('SKIP') -pkgver() { +pkgver () { cd "${pkgname}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } -package() { - cd "${pkgname}" - find */ -type f -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/{}" \; +build () { + rm -rf build + arch-meson "${pkgname}" build + ninja -C build +} + +package () { + DESTDIR="${pkgdir}" ninja -C build install } |