initial import
This commit is contained in:
30
opus/PKGBUILD
Normal file
30
opus/PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=opus
|
||||
pkgver=1.3.1
|
||||
pkgrel=1
|
||||
pkgdesc="Totally free, royalty-free, highly versatile audio codec"
|
||||
arch=(i686 x86_64)
|
||||
url="https://www.opus-codec.org/"
|
||||
license=(Modified-BSD)
|
||||
depends=(glibc)
|
||||
makedepends=(doxygen)
|
||||
source=(https://archive.mozilla.org/pub/$pkgname/$pkgname-$pkgver.tar.gz)
|
||||
sha512sums=('6cd5e4d8a0551ed5fb59488c07a5cc18a241d1fde5f9eb9f16cd4e77abcdb4134dd51ad1d737be1e6039bfa56912510b8648152f2478a1f21c7c1d9ce32933cd')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr --disable-static --enable-custom-modes
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $pkgname-$pkgver
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
|
||||
}
|
||||
Reference in New Issue
Block a user