aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-common/APKBUILD
blob: 198b2bf8c4a95611dcd5575f9364f95463fdb1ad (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gnome-common
pkgver=3.18.0
pkgrel=1
pkgdesc="Common development macros for GNOME"
url="https://www.gnome.org"
arch="noarch"
license="GPL"
source="https://download.gnome.org/sources/gnome-common/${pkgver%.*}/gnome-common-$pkgver.tar.xz"
builddir="$srcdir"/gnome-common-$pkgver

check() {
	cd "$builddir"
	make check
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="933258d9c23e218eb6eec9cc1951b053  gnome-common-3.18.0.tar.xz"
sha256sums="22569e370ae755e04527b76328befc4c73b62bfd4a572499fde116b8318af8cf  gnome-common-3.18.0.tar.xz"
sha512sums="b931c9a6668d996560549738bb2d95f86f56fa68ce930c077275bdc8fddbc2d28d215c1190099db1df851417902fca87ec81f1c0e644c5b9630a175e1cde0719  gnome-common-3.18.0.tar.xz"