aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-common/APKBUILD
blob: 0b884e8664d6a45d8bd4311d420b1a9930cf87aa (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gnome-common
pkgver=3.18.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/${pkgver%.*}/gnome-common-$pkgver.tar.xz"
builddir="$srcdir"/gnome-common-$pkgver

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
}

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"