From 410d8f644de56a9f84a21e15a0c5edeb38f739c9 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 13 May 2011 11:12:14 -0500 Subject: testing/oxygen-gtk: new aport --- testing/oxygen-gtk/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 testing/oxygen-gtk/APKBUILD (limited to 'testing/oxygen-gtk/APKBUILD') diff --git a/testing/oxygen-gtk/APKBUILD b/testing/oxygen-gtk/APKBUILD new file mode 100644 index 0000000000..58a8fbbd45 --- /dev/null +++ b/testing/oxygen-gtk/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: William Pitcock +# Maintainer: +pkgname=oxygen-gtk +pkgver=1.0.5 +pkgrel=0 +pkgdesc="gtk+ oxygen port" +url="http://www.kde.org/" +arch="all" +license="LGPL" +depends= +depends_dev="gtk+-dev" +makedepends="$depends_dev cmake" +install="" +subpackages= +source="http://kde.mirrors.tds.net/pub/kde/stable/oxygen-gtk/$pkgver/src/oxygen-gtk-$pkgver.tar.bz2 + isnan.patch" + +_builddir="$srcdir"/oxygen-gtk-$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="4a30da4b5442d896c054cfcae783248e oxygen-gtk-1.0.5.tar.bz2 +7425615ff80fd7afb0b90e6bed613f62 isnan.patch" -- cgit v1.2.3