aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-common/APKBUILD
blob: 8e4a3c639aa3b78bde2838fa11cc3540c8a0aed9 (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
48
49
50
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=gnome-common
pkgver=3.10.0
pkgrel=0
pkgdesc="Common development macros for GNOME"
url="http://www.gnome.org"
arch="noarch"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="https://download.gnome.org/sources/gnome-common/3.10/gnome-common-$pkgver.tar.xz"

_builddir="$srcdir"/gnome-common-$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 \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="060eda0de8348a6aede83d597e3c6323  gnome-common-3.10.0.tar.xz"
sha256sums="aed69474a671e046523827f73ba5e936d57235b661db97900db7356e1e03b0a3  gnome-common-3.10.0.tar.xz"
sha512sums="6c6408160dc2f4132c71b6795e0f3b026d0d2737e3712294bb8cb0c097ec74d30cf70740d50c7712f38477b24ab6fd11d8872c7a3ed1919f24aa43a546e9febe  gnome-common-3.10.0.tar.xz"