aboutsummaryrefslogtreecommitdiffstats
path: root/testing/autoconf-archive/APKBUILD
blob: 7d8d671e205b3faadff5893478a5c83d66e77e89 (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=autoconf-archive
pkgver=2018.03.13
pkgrel=0
pkgdesc="Collection of re-usable GNU Autoconf macros"
url="http://www.gnu.org/software/autoconf-archive"
arch="noarch"
license="GPL-3.0-or-later"
depends="autoconf"
makedepends=""
install=""
subpackages="$pkgname-doc"
source="http://open-source-box.org/$pkgname/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

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

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

sha512sums="301832a02b1913dd46cc34f6479264b37032d78457b2df526f0aafc752996972ca9c74fdae68fbe0f490268019c45329d564f263cbaff30203bbb4b4a8d5ad5f  autoconf-archive-2018.03.13.tar.xz"