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 | |
download | pkgbuilds-c58100e56746f7b0fbf78af66766c48239c7887a.tar.xz |
Dump...
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 36 | ||||
-rw-r--r-- | elementary-xfce-icons-git.install | 17 |
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..460e882 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 15:02:16 UTC 2015 +pkgbase = elementary-xfce-icons-git + pkgdesc = Elementary icon-theme with improved Xfce support + pkgver = 0.3_73_g082b3d4 + pkgrel = 1 + url = https://github.com/shimmerproject/elementary-xfce + install = elementary-xfce-icons-git.install + arch = any + license = GPL2 + makedepends = git + depends = gtk-update-icon-cache + conflicts = elementary-xfce-icons + source = elementary-xfce-icons-git::git+https://github.com/shimmerproject/elementary-xfce + md5sums = SKIP + +pkgname = elementary-xfce-icons-git + 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 +} + diff --git a/elementary-xfce-icons-git.install b/elementary-xfce-icons-git.install new file mode 100644 index 0000000..6ec605a --- /dev/null +++ b/elementary-xfce-icons-git.install @@ -0,0 +1,17 @@ +post_install() { + cd /usr/share/icons/ + find -type d -name "elementary-xfce*" -exec gtk-update-icon-cache -qtf {} \; +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +pre_remove() { + cd /usr/share/icons/ + find -type f -path "./elementary-xfce*/icon-theme.cache" -delete +} |