diff options
-rw-r--r-- | main/gconf/APKBUILD | 39 |
1 files changed, 16 insertions, 23 deletions
diff --git a/main/gconf/APKBUILD b/main/gconf/APKBUILD index a42d50832f..f834ec969c 100644 --- a/main/gconf/APKBUILD +++ b/main/gconf/APKBUILD @@ -2,45 +2,38 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gconf pkgver=3.2.6 -pkgrel=1 +pkgrel=2 pkgdesc="GNOME configuration system" url="http://projects.gnome.org/gconf" arch="all" -license="GPL" +license="GPL-2.0+" depends= -depends_dev="libxml2-dev gtk+3.0-dev polkit-dev orbit2-dev" -makedepends="$depends_dev gobject-introspection-dev gnome-doc-utils" +depends_dev="libxml2-dev gtk+3.0-dev polkit-dev" +makedepends="$depends_dev gobject-introspection-dev orbit2-dev glib-dev" install="" -subpackages="$pkgname-dev $pkgname-lang $pkgname-doc" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/GConf/${pkgver%.*}/GConf-${pkgver}.tar.xz" -_builddir="${srcdir}/GConf-${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 -} +builddir="$srcdir"/GConf-"$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --sysconfdir=/etc \ - || return 1 - make || return 1 + --sysconfdir=/etc + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="2b16996d0e4b112856ee5c59130e822c GConf-3.2.6.tar.xz" -sha256sums="1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c GConf-3.2.6.tar.xz" sha512sums="35f5f659f9d03f7531a7102adacbda0eb310d8a55a831c768c91a82e07dae21247726e00e0e411f63b1de9ade0f042ded572a3ea4a4b2ad3135231f344540b58 GConf-3.2.6.tar.xz" |