30 lines
726 B
Bash
30 lines
726 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=libopusenc
|
|
pkgver=0.2.1
|
|
pkgrel=1
|
|
pkgdesc="High-level API for encoding .opus files"
|
|
arch=('i686' 'x86_64')
|
|
url="https://opus-codec.org/"
|
|
license=('Modified-BSD')
|
|
depends=('glibc' 'opus')
|
|
options=('staticlibs')
|
|
source=("https://archive.mozilla.org/pub/opus/$pkgname-$pkgver.tar.gz")
|
|
sha512sums=('adf30cacea9ac2e5889a40147f53943a1bec5279c5ff3a9b09de8ca52727a6cbaeecd338417fc5856e337ae183c85b0d366d14ec4ec329de12d50709a6f6507a')
|
|
|
|
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"
|
|
rm -rf "$pkgdir/usr/share/doc"
|
|
}
|