diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-05-09 13:43:36 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-05-09 13:43:36 -0500 |
commit | 832562352fe532447d4e063fc7208c4d9ea34985 (patch) | |
tree | 474136465ef8343cf7c0235589998fc3694ef044 /testing/strigi | |
parent | 5db11af37004e1e6b37f5cdfdf8c2b4662669b33 (diff) | |
download | aports-832562352fe532447d4e063fc7208c4d9ea34985.tar.bz2 aports-832562352fe532447d4e063fc7208c4d9ea34985.tar.xz |
testing/strigi: new aport
Diffstat (limited to 'testing/strigi')
-rw-r--r-- | testing/strigi/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/strigi/APKBUILD b/testing/strigi/APKBUILD new file mode 100644 index 0000000000..4e4ddbd872 --- /dev/null +++ b/testing/strigi/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=strigi +pkgver=0.7.2 +pkgrel=0 +pkgdesc="KDE desktop search software" +url="http://www.vandenoever.info/software/strigi/" +arch="all" +license="LGPL" +depends= +depends_dev="qt-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="http://www.vandenoever.info/software/strigi/strigi-$pkgver.tar.bz2" + +_builddir="$srcdir"/strigi-$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="ca09ba176cf3ffe9afce4d92f38f9a85 strigi-0.7.2.tar.bz2" |