diff options
author | Christopher Snowhill | 2023-05-13 00:34:27 -0700 |
---|---|---|
committer | Christopher Snowhill | 2023-05-13 00:34:27 -0700 |
commit | 44342c0ee6c1e5a694b29da3524ae6d4fd2f923c (patch) | |
tree | cca903579cea9330544e83b5931950ad107b4c4a /PKGBUILD | |
download | aur-44342c0ee6c1e5a694b29da3524ae6d4fd2f923c.tar.gz |
2.4.2.3-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..312e74e2cc22 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: +# Contributor: Alexander Sulfrian <asulfrian@zedat.fu-berlin.de> +# Contributor: Alexander F. Rødseth <xyproto@archlinux.org> + +pkgname=libbassopus +pkgver=2.4.2.3 +pkgrel=1 +pkgdesc='BASS audio library Opus plugin' +arch=(i686 x86_64 armv6h armv7h aarch64) +url='https://www.un4seen.com/' +license=(custom) +depends=(alsa-lib libbass) +source=("$pkgname-$pkgver.zip::http://www.un4seen.com/files/bassopus24-linux.zip") +sha256sums=('6b537a534486ea61b76f1aabd52d04c55f46d8cc36c76cf4ddea5a78b24195cb') + +prepare() { + grep Lic "$srcdir/bassopus.txt" -A14 > LICENSE +} + +package() { + case "$CARCH" in + i686) + install -D -m644 libs/x86/libbassopus.so "$pkgdir/usr/lib/libbassopus.so" + ;; + armv6h|armv7h) + install -D -m644 libs/armhf/libbassopus.so "$pkgdir/usr/lib/libbassopus.so" + ;; + aarch64|x86_64) + install -D -m644 libs/$CARCH/libbassopus.so "$pkgdir/usr/lib/libbassopus.so" + ;; + esac + + install -D -m644 bassopus.h "$pkgdir/usr/include/bassopus.h" + install -D -m644 bassopus.chm "$pkgdir/usr/share/doc/libbassopus/bassopus.chm" + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# getver: -u=2 un4seen.com/bass.html +# vim: ts=2 sw=2 et: |