# Maintainer: Luca Weiss <luca@lucaweiss.eu>
pkgname=pil-squasher
pkgver=0_git20230828
pkgrel=1
_commit="509cf42bdd15bc4b08de3d1e7ba093d3f27464e1"
pkgdesc="Convert split .mdt + .bXX files into a .mbn file"
url="https://github.com/andersson/pil-squasher"
arch="all"
license="BSD-3-Clause"
source="$pkgname-$_commit.tar.gz::https://github.com/andersson/pil-squasher/archive/$_commit.tar.gz
	0001-Install-pil-splitter-during-make-install.patch"
builddir="$srcdir/$pkgname-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	make prefix=/usr DESTDIR="$pkgdir" install
}

sha512sums="
44c713e71c95c914ed990a6d5afaa625dd1cb1b8561568f43698e00afbd46d460cc722e882b6ee4ab7f9e364335cd93eb02db53445e242c91735d9e731068bc6  pil-squasher-509cf42bdd15bc4b08de3d1e7ba093d3f27464e1.tar.gz
abc53fc70176a0d2fac9983d761a5f046352a7f957b2e60c9893df3580e882b55c831faa8505362264ecbeb4850989c9916e6e1340d6ce725f531b8c15508e02  0001-Install-pil-splitter-during-make-install.patch
"
