summaryrefslogtreecommitdiffstats
path: root/main/util-macros/APKBUILD
blob: 85dbff96e6e9d9ba2056ae0f0e9d1fd62c4cbb19 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=util-macros
pkgver=1.19.0
pkgrel=0
pkgdesc="X.Org Autotools macros"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="MIT"
depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/util/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="1cf984125e75f8204938d998a8b6c1e1  util-macros-1.19.0.tar.bz2"
sha256sums="2835b11829ee634e19fa56517b4cfc52ef39acea0cd82e15f68096e27cbed0ba  util-macros-1.19.0.tar.bz2"
sha512sums="6820fced14e28d505ed47c4e7e9fae17340e93caf94cc983683128b53833e257aed636bcac6204ed87ddc10132473ceb4bd2f6de53ea66ab8f71b8cd23fbfc15  util-macros-1.19.0.tar.bz2"