core/opus/PKGBUILD

30 lines
869 B
Bash
Raw Normal View History

2013-11-17 08:44:51 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/opus
2012-10-19 13:07:47 +08:00
pkgname=opus
2016-01-20 05:32:54 +08:00
pkgver=1.1.2
pkgrel=1
2012-10-19 13:07:47 +08:00
pkgdesc="codec designed for interactive speech and audio transmission over the Internet"
arch=('x86_64')
url="http://www.opus-codec.org/"
2016-01-20 05:32:54 +08:00
license=('BSD')
2012-10-19 13:07:47 +08:00
depends=('glibc')
source=("http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz")
2016-01-20 05:32:54 +08:00
md5sums=('1f08a661bc72930187893a07f3741a91')
2012-10-19 13:07:47 +08:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
2016-01-20 05:32:54 +08:00
./configure --prefix=/usr \
--enable-custom-modes \
--disable-static \
--enable-intrinsics \
--enable-rtcd
2012-10-19 13:07:47 +08:00
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -m755 -d "${pkgdir}/usr/share/licenses/opus"
install -m644 COPYING "${pkgdir}/usr/share/licenses/opus/"
2013-11-17 08:44:51 +08:00
}