void-packages/srcpkgs/libdvdnav/template

27 lines
866 B
Bash

# Template file for 'libdvdnav'
pkgname=libdvdnav
version=6.1.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libdvdcss-devel libdvdread-devel"
short_desc="Library to navigate DVDs"
maintainer="Orphaned <orphan@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=f697b15ea9f75e9f36bdf6ec3726308169f154e2b1e99865d0bbe823720cee5b
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"
}
}