summaryrefslogtreecommitdiff
path: root/community/opusfile/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-04 00:04:06 -0800
committerroot <root@rshg054.dnsready.net>2013-01-04 00:04:06 -0800
commit782a0d2109c292b60e7de038df66525a81b21429 (patch)
tree586565a52faa28339159b4a4e53af142db7c67aa /community/opusfile/PKGBUILD
parentf2bbb5646aefe9ea6502524fbf4d0138cee8b2a1 (diff)
Fri Jan 4 00:04:06 PST 2013
Diffstat (limited to 'community/opusfile/PKGBUILD')
-rw-r--r--community/opusfile/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/opusfile/PKGBUILD b/community/opusfile/PKGBUILD
new file mode 100644
index 000000000..d7a625073
--- /dev/null
+++ b/community/opusfile/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 81936 2013-01-03 21:13:51Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com>
+
+pkgname=opusfile
+pkgver=0.2
+pkgrel=2
+pkgdesc='Library for opening, seeking, and decoding .opus files'
+arch=('i686' 'x86_64')
+url='http://www.opus-codec.org/'
+license=('custom')
+depends=('libogg' 'openssl' 'opus')
+options=('!libtool')
+source=(http://downloads.xiph.org/releases/opus/${pkgname}-${pkgver}.tar.gz)
+md5sums=('454375f51fb2f84bef9bf2fbf9535bb1')
+
+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/opusfile/LICENSE
+}