void-packages/srcpkgs/libdca/template

28 lines
732 B
Bash

# Template file for 'libdca'
pkgname=libdca
version=0.0.7
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="DTS Coherent Acoustics decoder"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.videolan.org/developers/libdca.html"
distfiles="https://download.videolan.org/pub/videolan/libdca/${version}/libdca-${version}.tar.bz2"
checksum=3a0b13815f582c661d2388ffcabc2f1ea82f471783c400f765f2ec6c81065f6a
pre_configure() {
autoreconf -fi
}
libdca-devel_package() {
depends="libdca>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}