aboutsummaryrefslogtreecommitdiffstats
path: root/testing/yafic/APKBUILD
blob: 82cb4b63659307ff3aed76de3b026a942b868043 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=yafic
pkgver=1.2.2
pkgrel=2
pkgdesc="Yet Another File Integrity Checker"
url="https://www.saddi.com/software/yafic/"
arch="all"
license="BSD"
makedepends="db-dev libressl-dev"
subpackages="$pkgname-doc"
source="http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

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

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc/yafic \
		--mandir=/usr/share/man
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm0644 yafic.conf.sample "$pkgdir"/etc/yafic/yafic.conf
}


sha512sums="8e05a0838fc2063f1c6bb69d660e9ff5c9fbdc4199e1396232327498c04d037b35307c348d64d928e561875f5cf0ad40c24fd097680cd814b2308608cf738957  yafic-1.2.2.tar.gz"