blob: 560fb7d69c2b1431425fa986b40afa32a71bf16d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer:
# Contributor: Alexander Sulfrian <asulfrian@zedat.fu-berlin.de>
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
pkgname=libbassopus
pkgver=2.4.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=('60ac3ab41caa7c2c57c8e9e0eb6bf49dd7b3dd38b75d6e93a6e07bdeab401005')
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:
|