summaryrefslogtreecommitdiff
path: root/extra/oxygen-icons
diff options
context:
space:
mode:
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/{}" \;
+}