diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-05-09 13:29:06 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-05-09 13:29:06 -0500 |
commit | 5db11af37004e1e6b37f5cdfdf8c2b4662669b33 (patch) | |
tree | cebb5227680ac1bea427a50674d752fd898ffd61 /testing/polkit-qt/APKBUILD | |
parent | 4450afb193a0af65dfcc58d18240ac5fccacee98 (diff) | |
download | aports-5db11af37004e1e6b37f5cdfdf8c2b4662669b33.tar.bz2 aports-5db11af37004e1e6b37f5cdfdf8c2b4662669b33.tar.xz |
testing/polkit-qt: new aport
Diffstat (limited to 'testing/polkit-qt/APKBUILD')
-rw-r--r-- | testing/polkit-qt/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/polkit-qt/APKBUILD b/testing/polkit-qt/APKBUILD new file mode 100644 index 0000000000..9bb0fc9406 --- /dev/null +++ b/testing/polkit-qt/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=polkit-qt +pkgver=0.99.0 +pkgrel=0 +pkgdesc="Qt bindings for PolicyKit" +url="http://www.kde.org/" +arch="all" +license="LGPL" +depends= +depends_dev="polkit-dev qt-dev" +makedepends="$depends_dev cmake automoc4" +install="" +subpackages="$pkgname-dev" +source="http://kde.mirrors.tds.net/pub/kde/stable/apps/KDE4.x/admin/polkit-qt-1-$pkgver.tar.bz2" + +_builddir="$srcdir"/polkit-qt-1-$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 -p "$_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="1c5b4113a2a167624b5f716b4f03a219 polkit-qt-1-0.99.0.tar.bz2" |