diff options
Diffstat (limited to 'celt/PKGBUILD')
-rw-r--r-- | celt/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/celt/PKGBUILD b/celt/PKGBUILD new file mode 100644 index 0000000..b003294 --- /dev/null +++ b/celt/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: Lauri Niskanen <ape@ape3000.com> +# Contributor: Ray Rashif <schivmeister@gmail.com> + +pkgname=celt +pkgver=0.7.0 +pkgrel=2 +pkgdesc="Low-latency audio communication codec" +arch=(i686 x86_64) +url="http://www.celt-codec.org" +license=('BSD') +depends=('libogg') +options=('!libtool') +source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('0bb72abec367f4ef12551f79dda11b23') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir" install + + ln -s $pkgdir/usr/lib/libcelt.so.0.0.0 $pkgdir/usr/lib/libcelt.so.0.7 + ln -s $pkgdir/usr/lib/libcelt.so.0.0.0 $pkgdir/usr/lib/libcelt.so.0.7.0 + + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/BSD" +} + |