aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/oxygen-icons/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/oxygen-icons/APKBUILD')
-rw-r--r--unmaintained/oxygen-icons/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/unmaintained/oxygen-icons/APKBUILD b/unmaintained/oxygen-icons/APKBUILD
new file mode 100644
index 0000000000..9ba50e41d7
--- /dev/null
+++ b/unmaintained/oxygen-icons/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=oxygen-icons
+pkgver=4.13.3
+pkgrel=0
+pkgdesc="oxygen icon set"
+url="http://www.oxygen-icons.org/"
+arch="noarch"
+license="LGPL"
+depends=
+depends_dev="cmake"
+makedepends="$depends_dev automoc4"
+install=""
+subpackages=""
+source="ftp://ftp.kde.org/pub/kde/stable/4.13.3/src/${pkgname}-${pkgver}.tar.xz"
+install_if="kdebase-workspace"
+
+_builddir="$srcdir"/${pkgname}-${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_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ "$_builddir" || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"/build
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="25d5e555aa82a98ee82c6ec3b23a2763 oxygen-icons-4.13.3.tar.xz"
+sha256sums="1478e0224020a881bea93e7c84cde9c1592ee299333f3e762ffa8f7229641075 oxygen-icons-4.13.3.tar.xz"
+sha512sums="c8b4c97d714190a1b02b75d4980aab62d4d686d0a9b3fc886c7d89de6f9478f0b4572c3a4d890304e1d51a4dd2464c1cd59e7c9f92cee02a3c866110c2bb2147 oxygen-icons-4.13.3.tar.xz"