diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-31 18:54:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-31 18:54:48 +0000 |
commit | d9cb072ec5bb865ef31a33f3fc18b83337a5a8d3 (patch) | |
tree | aa80139538d925e09cb7816748f53020c32a02e6 | |
parent | ad34c02c3f21f4143da2572c3ba521aded69b34f (diff) | |
download | aports-d9cb072ec5bb865ef31a33f3fc18b83337a5a8d3.tar.bz2 aports-d9cb072ec5bb865ef31a33f3fc18b83337a5a8d3.tar.xz |
testing/packagekit: new aport
Package management service
http://www.packagekit.org
-rw-r--r-- | testing/packagekit/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/packagekit/APKBUILD b/testing/packagekit/APKBUILD new file mode 100644 index 0000000000..bb4fb2f12b --- /dev/null +++ b/testing/packagekit/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=packagekit +pkgver=0.6.17 +pkgrel=0 +pkgdesc="Package management service" +url="http://www.packagekit.org" +arch="all" +license="GPLv2+ and LGPLv2+" +depends="" +depends_dev="" +makedepends="dbus-glib-dev polkit-dev bash intltool sqlite-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://www.packagekit.org/releases/PackageKit-$pkgver.tar.xz" + +_builddir="$srcdir"/PackageKit-$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 +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-qt \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la \ + "$pkgdir"/usr/lib/packagekit-backend/*.la +} + +md5sums="922666418e2697eb2248ee5de31ef967 PackageKit-0.6.17.tar.xz" |