void-packages/srcpkgs/nrg2iso/template
Andrew Benson d746ce765a nrg2iso: fix build_wrksrc
This is a workaround until a better solution comes along.

The tarball extracts additional files into the current directory.

   % tar tf nrg2iso-0.4.1.tar.gz
   ._nrg2iso-0.4.1
   nrg2iso-0.4.1/

This is breaks the new wrksrc behavior.  By setting build_wrksrc,
we can work around it enough for it to work.
2023-02-24 20:02:48 -06:00

20 lines
586 B
Bash

# Template file for 'nrg2iso'
pkgname=nrg2iso
version=0.4.1
revision=1
build_wrksrc="nrg2iso-${version}"
build_style=gnu-makefile
short_desc="Simple tool to convert from Nero Burning Rom (NRG) to ISO"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html"
distfiles="http://gregory.kokanosky.free.fr/v4/linux/${pkgname}-${version}.tar.gz"
checksum=3be36a416758fc1910473b49a8dadf2a2aa3d51f1976197336bc174bc1e306e5
do_build() {
$CC $CFLAGS $LDFLAGS -o nrg2iso nrg2iso.c
}
do_install() {
vbin nrg2iso
}