25 lines
689 B
Bash
25 lines
689 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=opusfile
|
|
pkgver=0.12
|
|
pkgrel=1
|
|
pkgdesc='Library for opening, seeking, and decoding .opus files'
|
|
arch=('i686' 'x86_64')
|
|
url='https://opus-codec.org/'
|
|
license=('Modified-BSD')
|
|
depends=('libogg' 'libressl' 'opus')
|
|
source=(https://downloads.xiph.org/releases/opus/$pkgname-$pkgver.tar.gz)
|
|
sha512sums=('e25e6968a3183ac0628ce1000840fd6f9f636e92ba984d6a72b76fb2a98ec632d2de4c66a8e4c05ef30655c2a4a13ab35f89606fa7d79a54cfa8506543ca57af')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/${pkgname}"
|
|
}
|