aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnats/APKBUILD
blob: b780067bfc9ecc063b0e741b5f9f6befbb20d34b (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
40
41
42
43
44
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnats
pkgver=4.2.0
pkgrel=1
pkgdesc="The GNU Bug Tracking System"
url="http://www.gnu.org/software/gnats/"
arch="all"
license="GPL3"
depends="postfix"
makedepends="texinfo"
install=
source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz
	gnats.pre-install"
subpackages="$pkgname-doc"
pkgusers="gnats"
pkggroups="gnats"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--sharedstatedir=/var/lib \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1

	make -j1 || return 1
}
package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	rm -f "$pkgdir"/gnats.el
}

md5sums="b2fb3bbaea6688b8341769569f4a6e70  gnats-4.2.0.tar.gz
4ccae685ca8d5ed857c2a26f1e2fbc7c  gnats.pre-install"
sha256sums="54e3f4eb5e6ceaec3f9579332e5ff492ce743f763b9c9cdd7ad72fe9cc2b142d  gnats-4.2.0.tar.gz
910a8e6640b910bcdfe79f314eb12ccac439003d017ce05fd83b70c5de0ead7d  gnats.pre-install"
sha512sums="650faa87206889912e27a27daba4c86292fac90250a88e7e6272cc8488fc19dfd6098bdd450553cd6c2c1d446072a8da9395f1ce7b1cd284596994ce53744152  gnats-4.2.0.tar.gz
b2a0afb638745716245ddc2d01ed10b4a81219d8e3a7da2bc238f531a94d0e1dc929f1464e0f44b18a3054a6b7caba6b6b6dae885b4aab3e6c72aca6bc60e5bb  gnats.pre-install"