diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/oxygen-icons/APKBUILD | 41 |
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" |