aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gsettings-desktop-schemas/APKBUILD
blob: 04b3bc332ded396fef9732e813e786edc0154ac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gsettings-desktop-schemas
pkgver=3.12.0
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"
install=""
subpackages=""
source="http://download.gnome.org/sources/gsettings-desktop-schemas/${pkgver%.*}/gsettings-desktop-schemas-$pkgver.tar.xz"

_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
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make install DESTDIR="$pkgdir" || return 1
}

md5sums="cb5ae0d658d0627f8727672bbd5267f0  gsettings-desktop-schemas-3.12.0.tar.xz"
sha256sums="a623888a47999599abca9728156459b93634e93ac7243a86cf1fc8c2d75f478d  gsettings-desktop-schemas-3.12.0.tar.xz"
sha512sums="7e1f24c0294ddb94e7a588567d1ecdbd3b0eaf8bb616d95ccf6ec75d0fad50cc84e9d839df5c6d183d4b5d176e1546d96e1b6e6d1f812427d72f11575a7ca29d  gsettings-desktop-schemas-3.12.0.tar.xz"