diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 19 insertions, 16 deletions
@@ -2,7 +2,7 @@ # Mon Jun 1 15:02:16 UTC 2015 pkgbase = elementary-xfce-icons-git pkgdesc = Elementary icon-theme with improved Xfce support - pkgver = git + pkgver = 0.r941.cefa84e pkgrel = 1 url = https://github.com/shimmerproject/elementary-xfce install = elementary-xfce-icons-git.install @@ -11,7 +11,7 @@ pkgbase = elementary-xfce-icons-git makedepends = git depends = gtk-update-icon-cache conflicts = elementary-xfce-icons - source = elementary-xfce-icons-git::git+https://github.com/shimmerproject/elementary-xfce + source = elementary-xfce-icons::git+https://github.com/shimmerproject/elementary-xfce md5sums = SKIP pkgname = elementary-xfce-icons-git @@ -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 } |