desktop/opusfile/PKGBUILD

26 lines
680 B
Bash
Raw Normal View History

2016-01-20 23:27:48 +08:00
# Contributions from: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/opusfile
2013-12-05 05:31:20 +08:00
pkgname=opusfile
2016-01-20 23:27:48 +08:00
pkgver=0.7
2013-12-05 05:31:20 +08:00
pkgrel=1
pkgdesc='Library for opening, seeking, and decoding .opus files'
2016-01-20 23:27:48 +08:00
arch=('x86_64')
2013-12-05 05:31:20 +08:00
url='http://www.opus-codec.org/'
2016-01-20 23:27:48 +08:00
license=('BSD')
2013-12-05 05:31:20 +08:00
depends=('libogg' 'openssl' 'opus')
source=(http://downloads.xiph.org/releases/opus/${pkgname}-${pkgver}.tar.gz)
2016-01-20 23:27:48 +08:00
sha256sums=('9e2bed13bc729058591a0f1cab2505e8cfd8e7ac460bf10a78bcc3b125e7c301')
2013-12-05 05:31:20 +08:00
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/opusfile/LICENSE
}