summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-12-04 04:53:54 -0700
committerBrian Bidulock2015-12-04 04:53:54 -0700
commita794f66854970d907aababf9601da46fafc419f7 (patch)
treef2e26d870a92843a57c582cc00eaf909e5054c99
downloadaur-a794f66854970d907aababf9601da46fafc419f7.tar.gz
initial version
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD39
-rw-r--r--xde-icons.install13
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a85e37e5f34
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Fri Dec 4 11:53:54 UTC 2015
+pkgbase = xde-icons
+ pkgdesc = Icons for the X Desktop Environment (XDE)
+ pkgver = 1.1.34
+ pkgrel = 1
+ url = http://github.com/bbidulock/xde-icons
+ install = xde-icons.install
+ arch = any
+ groups = xde
+ license = CCPL:by-sa
+ makedepends = librsvg
+ depends = hicolor-icon-theme
+ depends = mist-icon-theme
+ source = xde-icons::git://github.com/bbidulock/xde-icons.git
+ md5sums = SKIP
+
+pkgname = xde-icons
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8c95f2df860
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+#Maintainer: Brian Bidulock <bidulock@openss7.org>
+pkgdesc="Icons for the X Desktop Environment (XDE)"
+pkgname=xde-icons
+pkgver=1.1.34
+pkgrel=1
+arch=(any)
+license=(CCPL:by-sa)
+url="http://github.com/bbidulock/xde-icons"
+groups=('xde')
+depends=('hicolor-icon-theme' 'mist-icon-theme')
+source=("$pkgname::git://github.com/bbidulock/$pkgname.git")
+md5sums=('SKIP')
+makedepends=('librsvg')
+install=xde-icons.install
+
+pkgver() {
+ cd $pkgname
+ git describe --always | sed 's|-|.|g;s|[.]g[a-f0-9]*$||'
+}
+
+prepare() {
+ cd $pkgname
+ ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make V=0
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+ rm -f "$pkgdir/usr/share/icons/hicolor/32x32/apps/arch-logo.png"
+ rm -f "$pkgdir/usr/share/icons/hicolor/scalable/apps/arch-logo.svg"
+}
+
+# vim: et sw=2:
diff --git a/xde-icons.install b/xde-icons.install
new file mode 100644
index 00000000000..c1ffbe44ab6
--- /dev/null
+++ b/xde-icons.install
@@ -0,0 +1,13 @@
+update_icon_cache() {
+ gtk-update-icon-cache usr/share/icons/hicolor
+ gtk-update-icon-cache usr/share/icons/Mist
+}
+post_install() {
+ update_icon_cache
+}
+post_upgrade() {
+ update_icon_cache
+}
+post_remove() {
+ update_icon_cache
+}