diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-04 18:10:35 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:41 +0200 |
commit | 286695779228bf2956712f65dbf71bc8167af585 (patch) | |
tree | 8bfe1c6c4703a122b3c41338cac746c4a3ccde63 /PKGBUILD | |
parent | d3ef0feabcf25aec478ac8a3e970b1905deef9dd (diff) | |
download | pkgbuilds-286695779228bf2956712f65dbf71bc8167af585.tar.xz |
Clean up PKGBUILDs
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 } |