aboutsummaryrefslogtreecommitdiffstats
path: root/testing/oxygen-icons/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-05-10 10:34:44 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-05-10 10:34:44 -0500
commit8fcd945758d32ec75c979261e5e4c137d67e49d0 (patch)
tree4fda90ffabec9251272010726ce9cc728bc14640 /testing/oxygen-icons/APKBUILD
parente8c97ad646a1cdfc878827d19c30e4b8e33065fa (diff)
downloadaports-8fcd945758d32ec75c979261e5e4c137d67e49d0.tar.bz2
aports-8fcd945758d32ec75c979261e5e4c137d67e49d0.tar.xz
testing/oxygen-icons: new aport
Diffstat (limited to 'testing/oxygen-icons/APKBUILD')
-rw-r--r--testing/oxygen-icons/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/oxygen-icons/APKBUILD b/testing/oxygen-icons/APKBUILD
new file mode 100644
index 0000000000..cd047708a3
--- /dev/null
+++ b/testing/oxygen-icons/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=oxygen-icons
+pkgver=4.6.3
+pkgrel=0
+pkgdesc="oxygen icon set"
+url="http://www.kde.org/"
+arch="noarch"
+license="LGPL"
+depends=
+depends_dev="cmake icon-naming-utils"
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://kde.mirrors.tds.net/pub/kde/stable/$pkgver/src/oxygen-icons-$pkgver.tar.bz2"
+install_if="kdebase-workspace"
+
+_builddir="$srcdir"/oxygen-icons-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+ mkdir "$_builddir"/build
+}
+
+build() {
+ cd "$_builddir"/build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON "$_builddir" || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"/build
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="3390ae73d1a0c70c121f69b556757fdd oxygen-icons-4.6.3.tar.bz2"