diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 17 insertions, 14 deletions
@@ -1,36 +1,39 @@ -# Maintainer: Raphael Scholer <rscholer@gmx.de> - pkgname=elementary-xfce-icons-git -pkgver=git +pkgver=0.r941.cefa84e pkgrel=1 + pkgdesc='Elementary icon-theme with improved Xfce support' -arch=('any') url='https://github.com/shimmerproject/elementary-xfce' +arch=('any') license=('GPL2') -makedepends=('git') + depends=('gtk-update-icon-cache') +makedepends=('git') + conflicts=('elementary-xfce-icons') + install=elementary-xfce-icons-git.install -source=("$pkgname::git+https://github.com/shimmerproject/elementary-xfce") + +source=("elementary-xfce-icons::git+https://github.com/shimmerproject/elementary-xfce") md5sums=('SKIP') pkgver() { - cd $pkgname - echo "$(git describe --always |sed 's#-#_#g;s#v##')" + cd elementary-xfce-icons + printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { mkdir -p "${pkgdir}/usr/share/icons" - cd $pkgname + cd elementary-xfce-icons find ./ -type d -name "elementary-xfce*" -execdir cp -r {} "${pkgdir}/usr/share/icons/" \; cd "${pkgdir}/usr/share/icons" find ./ -type f \( \ - -name "AUTHORS" \ - -o -name "CONTRIBUTORS" \ - -o -name "LICENSE" \ - \) \ - -delete + -name "AUTHORS" \ + -o -name "CONTRIBUTORS" \ + -o -name "LICENSE" \ + \) \ + -delete } |