diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-02-16 02:32:57 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:39 +0200 |
commit | c58100e56746f7b0fbf78af66766c48239c7887a (patch) | |
tree | cd2d196192ca64438a1df82d5366c0b645322d7d /PKGBUILD | |
download | pkgbuilds-c58100e56746f7b0fbf78af66766c48239c7887a.tar.xz |
Dump...
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..74c70cb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Raphael Scholer <rscholer@gmx.de> + +pkgname=elementary-xfce-icons-git +pkgver=0.3_73_g082b3d4 +pkgrel=1 +pkgdesc='Elementary icon-theme with improved Xfce support' +arch=('any') +url='https://github.com/shimmerproject/elementary-xfce' +license=('GPL2') +makedepends=('git') +depends=('gtk-update-icon-cache') +conflicts=('elementary-xfce-icons') +install=elementary-xfce-icons-git.install +source=("$pkgname::git+https://github.com/shimmerproject/elementary-xfce") +md5sums=('SKIP') + +pkgver() { + cd $pkgname + echo "$(git describe --always |sed 's#-#_#g;s#v##')" +} + +package() { + mkdir -p "${pkgdir}/usr/share/icons" + + cd $pkgname + 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 +} + |