# Template file for 'libburn'
pkgname=libburn
version=1.5.4
revision=1
build_style=gnu-configure
short_desc="Library for reading, mastering and writing optical discs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://scdbackup.sourceforge.net/cdrskin_eng.html"
distfiles="http://files.libburnia-project.org/releases/${pkgname}-${version}.tar.gz"
checksum=525059d10759c5cb8148eebc863bb510e311c663603da7bd2d21c46b7cf63b54

cdrskin_package() {
	short_desc="Command line CD/DVD/BD writing tool"
	pkg_install() {
		vmove usr/bin
		vmove usr/share
	}
}

libburn-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
		vmove "usr/lib/*.a"
	}
}
