aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsettings-desktop-schemas/APKBUILD
blob: ccff80f5ccd2258a96a3e9a0d0001106507344d9 (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.20.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="c5d87ea480aa9bf66b134ddb5b8ea0f8  gsettings-desktop-schemas-3.20.0.tar.xz"
sha256sums="55a41b533c0ab955e0a36a84d73829451c88b027d8d719955d8f695c35c6d9c1  gsettings-desktop-schemas-3.20.0.tar.xz"
sha512sums="559baf477be9f728c5fea24232218ec4ff17ac97a6db166749fbca4dc1d3995e79824dc977cae5aa10b2197aa9c0e65b884f5c1cb446db109bc15dafe456f7a1  gsettings-desktop-schemas-3.20.0.tar.xz"