aboutsummaryrefslogtreecommitdiffstats
path: root/community/scdoc/APKBUILD
blob: da277a30d4881a9ffe954c938003f561f4b99e2d (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
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=scdoc
pkgver=1.10.1
pkgrel=0
pkgdesc="simple man page generator written for POSIX systems written in C99"
url="https://git.sr.ht/~sircmpwn/scdoc"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz
	"
builddir="$srcdir/$pkgname-$pkgver"

check() {
	cd "$builddir"
	make check
}

build() {
	cd "$builddir"
	make PREFIX="/usr"
}

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

sha512sums="356aee85c4676a1fbd7367c6087dd7f6f4d33793be0f3fef74803ceb93c0a9e45c78022d219dc08a7d79d71c393849fa3113c36a85d5d60ed474b62bf5f89743  scdoc-1.10.1.tar.gz"