diff options
author | Christopher Snowhill | 2023-05-13 00:36:39 -0700 |
---|---|---|
committer | Christopher Snowhill | 2023-05-13 00:36:39 -0700 |
commit | badcd5cab4802bd2b118f3ed648c6f01c5c187eb (patch) | |
tree | 84a9be867943ffe1f15562aaf94ccd98c34596a5 /PKGBUILD | |
download | aur-badcd5cab4802bd2b118f3ed648c6f01c5c187eb.tar.gz |
2.4.1.2-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2937d155b3ac --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: +# Contributor: Alexander Sulfrian <asulfrian@zedat.fu-berlin.de> +# Contributor: Alexander F. Rødseth <xyproto@archlinux.org> + +pkgname=libbass_mpc +pkgver=2.4.1.2 +pkgrel=1 +pkgdesc='BASS audio library Musepack 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/z/2/bass_mpc24-linux.zip") +sha256sums=('95957d167fac4badf675cdefed113279a273edab7798cb72dbe06dccf32d59a3') + +prepare() { + grep Dis "$srcdir/readme.txt" -A13 > LICENSE +} + +package() { + case "$CARCH" in + i686) + install -D -m644 libs/x86/libbass_mpc.so "$pkgdir/usr/lib/libbass_mpc.so" + ;; + armv6h|armv7h) + install -D -m644 libs/armhf/libbass_mpc.so "$pkgdir/usr/lib/libbass_mpc.so" + ;; + aarch64|x86_64) + install -D -m644 libs/$CARCH/libbass_mpc.so "$pkgdir/usr/lib/libbass_mpc.so" + ;; + esac + + install -D -m644 c/bass_mpc.h "$pkgdir/usr/include/bass_mpc.h" + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# getver: -u=2 un4seen.com/bass.html +# vim: ts=2 sw=2 et: |