diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-05-10 11:21:24 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-05-10 11:21:24 -0500 |
commit | cf86b2d5c728f06fe1cb8aa2f9bf9d7db2077172 (patch) | |
tree | ccf8b354a7b739d6c337560a8ae0ecb244e697e7 /testing/gtk-qt-engine/APKBUILD | |
parent | b4da30a99d39cfa687ae1e0e21853813be322b8f (diff) | |
download | aports-cf86b2d5c728f06fe1cb8aa2f9bf9d7db2077172.tar.bz2 aports-cf86b2d5c728f06fe1cb8aa2f9bf9d7db2077172.tar.xz |
testing/gtk-qt-engine: new aport
Diffstat (limited to 'testing/gtk-qt-engine/APKBUILD')
-rw-r--r-- | testing/gtk-qt-engine/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/gtk-qt-engine/APKBUILD b/testing/gtk-qt-engine/APKBUILD new file mode 100644 index 000000000..c6c367c65 --- /dev/null +++ b/testing/gtk-qt-engine/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=gtk-qt-engine +pkgver=1.1 +pkgrel=0 +pkgdesc="GTK QT engine" +url="http://gtk-qt-engine.googlecode.com/" +arch="all" +license="GPL" +depends= +depends_dev="kdebase-workspace-dev gtk+-dev" +makedepends="$depends_dev cmake automoc4" +install="" +subpackages= +source="http://gtk-qt-engine.googlecode.com/files/gtk-qt-engine-$pkgver.tar.bz2 + stdlib.patch" +install_if="kdebase-workspace" + +_builddir="$srcdir"/gtk-qt-engine +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 +} + +build() { + cd "$_builddir" + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON . || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="de8048baef7dfe6c97cd97c463d66152 gtk-qt-engine-1.1.tar.bz2 +1658c0431dd13bef9c3f72183815c6f3 stdlib.patch" |