# Template file for 'libburn'
pkgname=libburn
version=1.5.0
revision=1
wrksrc="${pkgname}-${version/.pl*/}"
build_style=gnu-configure
short_desc="Library for reading, mastering and writing optical discs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="http://www.libburnia-project.org"
distfiles="http://files.libburnia-project.org/releases/${pkgname}-${version}.tar.gz"
checksum=582b12c236c1365211946f2fe3c254976af37bbec244051f7742a98ded9be2bd

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
	}
}
