# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xorriso
pkgver=1.5.3
pkgrel=0
pkgdesc="ISO 9660 Rock Ridge filesystem manipulator"
url="https://www.gnu.org/software/xorriso/"
arch="all"
license="GPL-3.0+"
depends=""
makedepends="acl-dev bzip2-dev zlib-dev"
subpackages="$pkgname-doc"
source="https://www.gnu.org/software/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="7a0b74c608a9693f1ee72c3444d0798918dd0b851a9c77a1185f306cb76f36a6b1b014c915cb3f38885d709026db69da5ed0f11583cbef82b56aad629c01802f  xorriso-1.5.3.tar.gz"