void-packages/srcpkgs/dcadec/template
cr6git 35dfab5c7b dcadec: avoid conflict with libdca
Closes: #10009 [via git-merge-pr]
2017-12-22 10:39:37 +01:00

28 lines
752 B
Bash

# Template file for 'dcadec'
pkgname=dcadec
version=0.2.0
revision=2
build_style=gnu-makefile
short_desc="DTS Coherent Acoustics decoder with support for HD extensions"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2.1"
homepage="https://github.com/foo86/dcadec"
distfiles="$homepage/archive/v0.2.0.tar.gz"
checksum=ed9d207fde3e8d576f3af8b0d1235b3371e315175757173689104efcaebf0d44
CFLAGS='-std=gnu99'
make_build_args="CONFIG_SHARED=TRUE"
make_install_args="CONFIG_SHARED=TRUE"
post_install() {
mv -v ${DESTDIR}/usr/bin/dcadec{,-hd}
}
dcadec-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}