summaryrefslogtreecommitdiff
path: root/community/opus-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/opus-tools/PKGBUILD')
-rw-r--r--community/opus-tools/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/opus-tools/PKGBUILD b/community/opus-tools/PKGBUILD
new file mode 100644
index 000000000..b711af87f
--- /dev/null
+++ b/community/opus-tools/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 81947 2013-01-04 06:03:54Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: Michael Düll <mail@akurei.me>
+# Contributor: pumbur
+
+pkgname=opus-tools
+pkgver=0.1.6
+pkgrel=1
+pkgdesc='Collection of tools for Opus audio codec'
+arch=('i686' 'x86_64')
+url='http://wiki.xiph.org/Opus-tools'
+license=('BSD')
+depends=('opus' 'libogg')
+source=(http://downloads.xiph.org/releases/opus/$pkgname-$pkgver.tar.gz)
+
+build(){
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+sha512sums=('547828082c4838643eeda513f65316b60b0e44c4a0826ef39cbfa3fe81df71b30651c03ceee7729aeb74258c259014bf95ca5f01aba097a4de8334e58c8e7ce6')