aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bchunk/APKBUILD
blob: cef2ddd93288da4a5db5c74439c0c57fc517e125 (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
# Contributor: Alexander Edland <alpine@ocv.me>
# Maintainer:
pkgname=bchunk
pkgver=1.2.2
pkgrel=1
pkgdesc="Convert bin+cue CD images to .iso and .cdr"
url="https://github.com/hessu/bchunk"
arch="all"
license="GPL-2.0-or-later"
options="!check"  # no test suite
subpackages="$pkgname-doc"
source="bchunk-$pkgver.tar.gz::https://github.com/hessu/bchunk/archive/release/$pkgver.tar.gz"
builddir="$srcdir/bchunk-release-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	mkdir -p \
		"$pkgdir/usr/bin" \
		"$pkgdir/usr/share/man/man1"

	make -j1 \
		BIN_DIR="$pkgdir/usr/bin" \
		MAN_DIR="$pkgdir/usr/share/man" \
		install
}

sha512sums="d99f5a98944d6dab269865489843a39748b0fa1cd7dc5ec4e2a8d0ecc6223f196eed6c1d8d325822b4d548d9bb03eee151fdab7b867aaa79930f6e751175d459  bchunk-1.2.2.tar.gz"