aports/testing/bchunk/APKBUILD
2024-11-27 01:59:08 +00:00

35 lines
1,015 B
Text

# Contributor: Alexander Edland <alpine@ocv.me>
# Maintainer: John Anthony <john@jo.hnanthony.com>
pkgname=bchunk
pkgver=1.2.2
pkgrel=3
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
bin-user.patch
"
builddir="$srcdir/bchunk-release-$pkgver"
build() {
make CC="$CC" LD="$CC" CFLAGS="$CFLAGS"
}
package() {
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
ab74971cf65cbcebcf4b770cfd9d79b046f984750f09f2dc146ab14e5b22eb2780597302098e0a0eb27fd0e5772781a448d156c34a5abbe66c2a0689c88e6817 bin-user.patch
"