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 | |
parent | d3ef0feabcf25aec478ac8a3e970b1905deef9dd (diff) | |
download | pkgbuilds-286695779228bf2956712f65dbf71bc8167af585.tar.xz |
Clean up PKGBUILDs
-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 } |