mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 11:52:25 +01:00
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=packagekit
|
|
pkgver=0.8.3
|
|
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 gtk+-dev"
|
|
install=""
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
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 \
|
|
--disable-systemd \
|
|
--enable-gtk-module \
|
|
|| 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 \
|
|
"$pkgdir"//usr/lib/packagekit-plugins/*.la
|
|
}
|
|
|
|
md5sums="53210d9a54d3c9044e4c6edc16c99bd4 PackageKit-0.8.3.tar.xz"
|