aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-15 09:49:59 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-15 16:28:44 +0000
commit26b74583a5a30f5363724b9a2bcb5fc117c77233 (patch)
treed3f1c60525fe445b5c0f57fb5690d58b5c6914f8 /community
parentd183e852a762296b473c33e9ce106f52a4359dae (diff)
downloadaports-26b74583a5a30f5363724b9a2bcb5fc117c77233.tar.bz2
aports-26b74583a5a30f5363724b9a2bcb5fc117c77233.tar.xz
community/gsettings-desktop-schemas: upgrade to 3.24.1, added -dev subpackage
Diffstat (limited to 'community')
-rw-r--r--community/gsettings-desktop-schemas/APKBUILD51
1 files changed, 28 insertions, 23 deletions
diff --git a/community/gsettings-desktop-schemas/APKBUILD b/community/gsettings-desktop-schemas/APKBUILD
index 1e23cf5ce2..b9b662c831 100644
--- a/community/gsettings-desktop-schemas/APKBUILD
+++ b/community/gsettings-desktop-schemas/APKBUILD
@@ -1,45 +1,50 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gsettings-desktop-schemas
-pkgver=3.24.0
-pkgrel=1
+pkgver=3.24.1
+pkgrel=0
pkgdesc="A collection of GSettings schemas"
url="http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas"
arch="noarch"
license="LGPLv2+"
-depends=""
-depends_dev=""
-makedepends="$depends_dev glib-dev intltool gobject-introspection-dev"
-install=""
-subpackages=""
-source="http://download.gnome.org/sources/gsettings-desktop-schemas/${pkgver%.*}/gsettings-desktop-schemas-$pkgver.tar.xz"
+makedepends="glib-dev intltool gobject-introspection-dev"
+subpackages="$pkgname-dev"
+source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+builddir="$srcdir"/$pkgname-$pkgver
-_builddir="$srcdir"/gsettings-desktop-schemas-$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
+ default_prepare
+ cd "$builddir"
+ sed -i -r 's:"(/system):"/org/gnome\1:g' schemas/*.in
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-nls \
- || return 1
- make || return 1
+ --disable-nls
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- cd "$_builddir"
- make install DESTDIR="$pkgdir" || return 1
+ cd "$builddir"
+ make install DESTDIR="$pkgdir"
}
-sha512sums="b19fb29da29a3fa114536c0ce94b160f9c589568b626e487b5eca008791e539de9a89a81c69e41f8070b0369e6cfc800fe8b70247ecbab1bc32f24db759037c1 gsettings-desktop-schemas-3.24.0.tar.xz"
+dev() {
+ default_dev
+ cd "$builddir"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/share/pkgconfig "$subpkgdir"/usr/lib
+}
+
+
+sha512sums="c3970d61cc1c29bf97a39c439b3e0ba5c5d5c0f811e17b8884f106f095b159dd0c43cb90e02561edcc26e15b2b887e960d38de1c0e7498413db0c63102f15833 gsettings-desktop-schemas-3.24.1.tar.xz"