summaryrefslogtreecommitdiff
path: root/extra/oxygen-icons
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-07 22:35:21 +0000
committerroot <root@rshg047.dnsready.net>2011-05-07 22:35:21 +0000
commitfe6dc99352fe2b801d251e55b2b8baa71441908e (patch)
treeb57122dcf7e7901a912aaf1783a7c8b9a4bd1085 /extra/oxygen-icons
parentb0145a13655cdf02f228f07b376e58a825e28b78 (diff)
Sat May 7 22:35:21 UTC 2011
Diffstat (limited to 'extra/oxygen-icons')
-rw-r--r--extra/oxygen-icons/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/extra/oxygen-icons/PKGBUILD b/extra/oxygen-icons/PKGBUILD
new file mode 100644
index 000000000..1440c6446
--- /dev/null
+++ b/extra/oxygen-icons/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 121091 2011-04-29 00:27:25Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+pkgbase=oxygen-icons
+pkgname=('oxygen-icons'
+ 'oxygen-icons-svg')
+pkgver=4.6.3
+pkgrel=1
+pkgdesc="The Oxygen Icon Theme"
+arch=('any')
+url='http://www.oxygen-icons.org/'
+license=('LGPL')
+makedepends=('pkgconfig' 'cmake' 'automoc4')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('9efaf92d516f716f3d36ff0e21c66384500e967d')
+
+build() {
+ cd $srcdir
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package_oxygen-icons() {
+ cd $srcdir/build
+ make DESTDIR=$pkgdir install
+}
+
+package_oxygen-icons-svg() {
+ pkgdesc="The Oxygen Icon Theme (Scalable Vector Graphics)"
+ cd $srcdir/${pkgbase}-${pkgver}
+ find scalable -type f ! -name '*.sh' -exec \
+ install -D -m644 "{}" "${pkgdir}/usr/share/icons/oxygen/{}" \;
+}