diff options
author | WernerFP | 2018-12-20 20:11:00 +0100 |
---|---|---|
committer | WernerFP | 2018-12-20 20:11:00 +0100 |
commit | f22c988d0a03a26671b1dcd9f7cffb924a489da9 (patch) | |
tree | 8c90458ba770a81549cabfde024aabef6c668d0f /PKGBUILD | |
download | aur-f22c988d0a03a26671b1dcd9f7cffb924a489da9.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e7185ffa474f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Werner Redelius <echo d2VybmVyZnBAcG9zdGVvLmRlDQo= | base64 -d> +# https://github.com/WernerFP/Shades-of-gray-theme + +pkgbase=gtk-theme-shades-of-gray-git +_gitname=Shades-of-gray-theme +pkgname=gtk-theme-shades-of-gray-git + +pkgver=1.1.3.r4.g0530f86 +pkgrel=1 +pkgdesc='A dark GTK-theme (GNOME, Cinnamon, Xfce, Openbox) in 7 color variants (Git-version)' +arch=('any') +url="https://github.com/WernerFP/Shades-of-gray-theme" +license=('GPL3') + +conflicts=('gtk-theme-shades-of-gray') +replaces=('gtk-theme-shades-of-gray') +depends=('gtk3') +optdepends=('gtk-engine-murrine: for gtk2 themes' + 'gtk-engines: for gtk2 themes') +makedepends=('git') + +source=("${_gitname}::git+https://github.com/WernerFP/${_gitname}.git") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_gitname}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +package() { + cd "$srcdir/$_gitname" + rm {LICENSE,README.md} + DESTDIR="$pkgdir/usr/share/themes" + mkdir -p "$DESTDIR" + mv Shades-of-gray "$DESTDIR/" + mv Shades-of-gray-Arch "$DESTDIR/" + mv Shades-of-gray-Cerulean "$DESTDIR/" + mv Shades-of-gray-Firebrick "$DESTDIR/" + mv Shades-of-gray-Harvest "$DESTDIR/" + mv Shades-of-gray-Orient "$DESTDIR/" + mv Shades-of-gray-Patina "$DESTDIR/" +} |