initial import
This commit is contained in:
29
libopusenc/PKGBUILD
Normal file
29
libopusenc/PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
# 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"
|
||||
}
|
||||
Reference in New Issue
Block a user