summaryrefslogtreecommitdiff
path: root/main/cksfv/APKBUILD
blob: 9a4d0b6bd804bf2bc46d3f5ba3abefd2231ee922 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=cksfv
pkgver=1.3.14
pkgrel=4
pkgdesc="Simple File Verification"
url="http://zakalwe.fi/~shd/foss/cksfv"
arch="all"
license="GPL2+"
subpackages="$pkgname-doc"
source="http://zakalwe.fi/~shd/foss/cksfv/files/$pkgname-$pkgver.tar.bz2"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

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

package() {
	cd "$builddir"
	install -cD src/cksfv "$pkgdir"/usr/bin/cksfv
	install -cD cksfv.1 "$pkgdir"/usr/share/man/man1/cksfv.1
}

sha512sums="016c2f61632980678957fe4b5bc9ecb30360efd548ff09bfbb7a31cc6fc36f6fe7936d3d819fe468a6208c71f8b625662aa3ae0abd668435d7273e149d7e4519  cksfv-1.3.14.tar.bz2"