void-packages/srcpkgs/libdvdnav/template

27 lines
866 B
Bash

# Template file for 'libdvdnav'
pkgname=libdvdnav
version=6.0.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libdvdcss-devel libdvdread-devel"
short_desc="Library to navigate DVDs"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.videolan.org/developers/libdvdnav.html"
changelog="https://code.videolan.org/videolan/libdvdnav/blob/master/ChangeLog"
distfiles="https://download.videolan.org/pub/videolan/libdvdnav/${version}/libdvdnav-${version}.tar.bz2"
checksum=f0a2711b08a021759792f8eb14bb82ff8a3c929bf88c33b64ffcddaa27935618
libdvdnav-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}