30 lines
816 B
Bash
30 lines
816 B
Bash
# Template file for 'opusfile'
|
|
pkgname=opusfile
|
|
version=0.12
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libogg-devel opus-devel libressl-devel"
|
|
short_desc="Library for opening, seeking, and decoding .opus files"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://www.opus-codec.org/"
|
|
distfiles="http://downloads.xiph.org/releases/opus/${pkgname}-${version}.tar.gz"
|
|
checksum=118d8601c12dd6a44f52423e68ca9083cc9f2bfe72da7a8c1acb22a80ae3550b
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/share
|
|
vlicense COPYING
|
|
}
|
|
|
|
opusfile-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|