summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander F. Rødseth2020-03-31 13:23:26 +0200
committerAlexander F. Rødseth2020-03-31 13:23:26 +0200
commit28f26d0100dcd0c8fe714d6ac5d512d5aeee3ef5 (patch)
tree13f07b092badb7779e617a44deda44a6d8debc9a
parent5ff0c00826463753a79ce83a1d57f725b36b469f (diff)
downloadaur-28f26d0100dcd0c8fe714d6ac5d512d5aeee3ef5.tar.gz
Refresh after moving back from [community]
-rw-r--r--.SRCINFO20
-rw-r--r--LICENSE60
-rw-r--r--PKGBUILD78
3 files changed, 44 insertions, 114 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e9e64808c51a..a77e42ad7200 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,26 +1,16 @@
+# Generated by mksrcinfo v8
+# Tue Mar 31 11:23:19 UTC 2020
pkgbase = libbass
pkgdesc = BASS audio library
pkgver = 2.4.15
- pkgrel = 3
- url = http://www.un4seen.com/
- arch = i686
+ pkgrel = 4
+ url = https://www.un4seen.com/
arch = x86_64
- arch = armv6h
- arch = armv7h
- arch = aarch64
license = custom
+ makedepends = unzip
depends = alsa-lib
- depends = unzip
source = libbass-2.4.15.zip::http://dl.un4seen.com/files/bass24-linux.zip
- source = LICENSE
sha256sums = 05200f84de1ba507e717f607640ccc3b5cef5860c002b61130b17941418d01fc
- sha256sums = f7bc36320110c8fd2f87c6d2bb5df6d2231ca9ab31a299b1565de63f7681cc83
- source_armv6h = libbass-2.4.15-arm.zip::http://dl.un4seen.com/stuff/bass24-linux-arm.zip
- sha256sums_armv6h = 701a60df1651c002e2b2bd7f00a53be4e5c894b550300b9b7fab710d2ea9784b
- source_armv7h = libbass-2.4.15-arm.zip::http://dl.un4seen.com/stuff/bass24-linux-arm.zip
- sha256sums_armv7h = 701a60df1651c002e2b2bd7f00a53be4e5c894b550300b9b7fab710d2ea9784b
- source_aarch64 = libbass-2.4.15-arm.zip::http://dl.un4seen.com/stuff/bass24-linux-arm.zip
- sha256sums_aarch64 = 701a60df1651c002e2b2bd7f00a53be4e5c894b550300b9b7fab710d2ea9784b
pkgname = libbass
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index b12b1cb27805..000000000000
--- a/LICENSE
+++ /dev/null
@@ -1,60 +0,0 @@
-BASS is free for non-commercial use. If you are a non-commercial entity
-(eg. an individual) and you are not making any money from your product
-(through sales/advertising/etc), then you can use BASS in it for free.
-If you wish to use BASS in commercial products, then please also see the
-next section.
-
-TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, BASS IS PROVIDED
-"AS IS", WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
-INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY
-AND/OR FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS SHALL NOT BE HELD
-LIABLE FOR ANY DAMAGE THAT MAY RESULT FROM THE USE OF BASS. YOU USE
-BASS ENTIRELY AT YOUR OWN RISK.
-
-Usage of BASS indicates that you agree to the above conditions.
-
-All trademarks and other registered names contained in the BASS
-package are the property of their respective owners.
-
-Commercial licensing
---------------------
-BASS is available for use in your commercial products. The licence
-types available are as follows:
-
-SHAREWARE: Allows the usage of BASS in an unlimited number of your
-shareware ("try before you buy") products, which must sell for no more
-than 40 Euros each. Non-shareware products are also permitted, but the
-product price limit is 10 Euros in that case. The price limit can be
-raised by purchasing duplicate licences, eg. 2 licences doubles it. If
-you are an individual (not a corporation) making and selling your own
-software, this is the licence for you.
-
-SINGLE COMMERCIAL: Allows the usage of BASS in one commercial product.
-
-UNLIMITED COMMERCIAL: Allows the usage of BASS in an unlimited number
-of your commercial products. This licence is on a per-site basis, eg.
-if you are creating products with BASS at 2 sites/locations, then 2
-licences are required.
-
-Please note the products must be end-user products, eg. not components
-used by other products.
-
-These licences only cover your own software, not the publishing of
-other's software. If you publish other's software, its developers (or
-the software itself) will need to be licensed to use BASS.
-
-These licences are on a per-platform basis, with reductions available
-when licensing for multiple platforms. In all cases there are no royalties
-to pay, and you can use future BASS updates without further cost.
-
-These licences do not allow reselling/sublicensing of BASS. For example,
-if a product is a development system, the users of said product are not
-licensed to use BASS in their productions; they will need their own
-licences.
-
-If the standard licences do not meet your requirements, or if you have
-any questions, please get in touch (email: bass@un4seen.com).
-
-Visit the BASS website for the latest pricing:
-
- www.un4seen.com
diff --git a/PKGBUILD b/PKGBUILD
index 27d51c5362b4..daa4e28dd369 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,56 +1,56 @@
-# Maintainer: Alexander Sulfrian <asulfrian@zedat.fu-berlin.de>
+# Maintainer:
+# Contributor: Alexander Sulfrian <asulfrian@zedat.fu-berlin.de>
+# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
+
pkgname=libbass
pkgver=2.4.15
-pkgrel=3
-pkgdesc="BASS audio library"
-arch=(i686 x86_64 armv6h armv7h aarch64)
-url="http://www.un4seen.com/"
+pkgrel=4
+pkgdesc='BASS audio library'
+arch=(x86_64)
+url='https://www.un4seen.com/'
license=(custom)
-depends=(alsa-lib unzip)
-
-source=("$pkgname-$pkgver.zip::http://dl.un4seen.com/files/bass24-linux.zip"
- LICENSE)
+depends=(alsa-lib)
+makedepends=(unzip)
+source=("$pkgname-$pkgver.zip::http://dl.un4seen.com/files/bass24-linux.zip")
source_armv6h=("$pkgname-$pkgver-arm.zip::http://dl.un4seen.com/stuff/bass24-linux-arm.zip")
source_armv7h=("$pkgname-$pkgver-arm.zip::http://dl.un4seen.com/stuff/bass24-linux-arm.zip")
source_aarch64=("$pkgname-$pkgver-arm.zip::http://dl.un4seen.com/stuff/bass24-linux-arm.zip")
-
-sha256sums=('05200f84de1ba507e717f607640ccc3b5cef5860c002b61130b17941418d01fc'
- 'f7bc36320110c8fd2f87c6d2bb5df6d2231ca9ab31a299b1565de63f7681cc83')
+sha256sums=('05200f84de1ba507e717f607640ccc3b5cef5860c002b61130b17941418d01fc')
sha256sums_armv6h=('701a60df1651c002e2b2bd7f00a53be4e5c894b550300b9b7fab710d2ea9784b')
sha256sums_armv7h=('701a60df1651c002e2b2bd7f00a53be4e5c894b550300b9b7fab710d2ea9784b')
sha256sums_aarch64=('701a60df1651c002e2b2bd7f00a53be4e5c894b550300b9b7fab710d2ea9784b')
-build () {
- unzip -q "$pkgname-$pkgver.zip" -d "$srcdir/$pkgname-$pkgver"
-
- case "$CARCH" in
- armv6h|armv7h|aarch64)
- unzip -q "$pkgname-$pkgver-arm.zip" -d "$srcdir/$pkgname-$pkgver/arm"
- ;;
- esac
+prepare() {
+ unzip -q "$pkgname-$pkgver.zip" -d "$srcdir/$pkgname-$pkgver"
+ grep Lic "$pkgname-$pkgver/bass.txt" -A62 > LICENSE
+ case "$CARCH" in
+ armv6h|armv7h|aarch64)
+ unzip -q "$pkgname-$pkgver-arm.zip" -d "$srcdir/$pkgname-$pkgver/arm"
+ ;;
+ esac
}
-package () {
- install -D -m644 "$startdir/LICENSE" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- cd "$srcdir/$pkgname-$pkgver"
-
- case "$CARCH" in
+package() {
+ cd "$pkgname-$pkgver"
+ case "$CARCH" in
i686)
- install -D -m755 libbass.so "$pkgdir/usr/lib/libbass.so"
- ;;
+ install -D -m644 libbass.so "$pkgdir/usr/lib/libbass.so"
+ ;;
x86_64)
- install -D -m755 x64/libbass.so "$pkgdir/usr/lib/libbass.so"
- ;;
+ install -D -m644 x64/libbass.so "$pkgdir/usr/lib/libbass.so"
+ ;;
armv6h|armv7h)
- install -D -m755 arm/hardfp/libbass.so "$pkgdir/usr/lib/libbass.so"
- ;;
+ install -D -m644 arm/hardfp/libbass.so "$pkgdir/usr/lib/libbass.so"
+ ;;
aarch64)
- install -D -m755 arm/aarch64/libbass.so "$pkgdir/usr/lib/libbass.so"
- ;;
- esac
-
- install -D -m644 bass.h "$pkgdir/usr/include/bass.h"
- install -D -m644 bass.chm "$pkgdir/usr/share/doc/libbass/bass.chm"
+ install -D -m644 arm/aarch64/libbass.so "$pkgdir/usr/lib/libbass.so"
+ ;;
+ esac
+ install -D -m644 bass.h "$pkgdir/usr/include/bass.h"
+ install -D -m644 bass.chm "$pkgdir/usr/share/doc/libbass/bass.chm"
+ install -D -m644 "$srcdir/LICENSE" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
+
+# getver: -u=2 un4seen.com/bass.html
+# vim: ts=2 sw=2 et: