29 lines
816 B
Bash
29 lines
816 B
Bash
# Template file for 'opusfile'
|
|
pkgname=opusfile
|
|
version=0.11
|
|
revision=2
|
|
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="Juan RP <xtraeme@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://www.opus-codec.org/"
|
|
distfiles="http://downloads.xiph.org/releases/opus/${pkgname}-${version}.tar.gz"
|
|
checksum=74ce9b6cf4da103133e7b5c95df810ceb7195471e1162ed57af415fabf5603bf
|
|
|
|
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"
|
|
}
|
|
}
|