29 lines
722 B
Bash
29 lines
722 B
Bash
# Template file for 'faad2'
|
|
pkgname=faad2
|
|
version=2.10.0
|
|
revision=1
|
|
wrksrc="faad2-${version//./_}"
|
|
build_style=gnu-configure
|
|
hostmakedepends="autoconf automake libtool"
|
|
short_desc="AAC decoding library"
|
|
maintainer="Nathan <ndowens@artixlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://www.audiocoding.com/"
|
|
distfiles="https://github.com/knik0/faad2/archive/${version//./_}.tar.gz"
|
|
checksum=0c6d9636c96f95c7d736f097d418829ced8ec6dbd899cc6cc82b728480a84bfb
|
|
|
|
pre_configure() {
|
|
autoreconf -vfi
|
|
}
|
|
|
|
faad2-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|