aboutsummaryrefslogtreecommitdiffstats
path: root/main/util-macros/APKBUILD
blob: 1fe203579d273b72ae565c2e722cfb1c95a3975e (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.17
pkgrel=1
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="4f41667e1bf4938bb2b24fa09d517f77  util-macros-1.17.tar.bz2"
sha256sums="7d79edde72fc17dcdc56cfbe2f8ff384d1bffd1d8c58c0fd25970f5b2ccb75ed  util-macros-1.17.tar.bz2"
sha512sums="75c9a3d962bb0009ef25a6a19aa6426971a94539851c0a5ba8229a6ae3783032e263860bbc06a3263eba47f0aa888f7611f23dd90c0a3722ea51d1496c68b4b6  util-macros-1.17.tar.bz2"