diff options
author | Alexander Sulfrian | 2017-03-15 21:05:08 +0100 |
---|---|---|
committer | Alexander Sulfrian | 2017-03-15 21:05:08 +0100 |
commit | 5edd875e497dc02e41abf650e08fa4152d4113b8 (patch) | |
tree | c0b80366beccaf3909370d4bf3fa5d84c7156272 | |
download | aur-5edd875e497dc02e41abf650e08fa4152d4113b8.tar.gz |
Initial packaging
-rw-r--r-- | .SRCINFO | 48 | ||||
-rw-r--r-- | LICENSE | 60 | ||||
-rw-r--r-- | PKGBUILD | 52 |
3 files changed, 160 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ace0543935a0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,48 @@ +pkgbase = libbass + pkgdesc = BASS audio library + pkgver = 2.4.12 + pkgrel = 1 + url = http://www.un4seen.com/ + arch = i686 + arch = x86_64 + arch = armv6h + arch = aarch64 + license = custom + depends = alsa-lib + source = http://dl.un4seen.com/files/bass24-linux.zip + source = LICENSE + sha256sums = a7c97bd246272406a44ad73dcbc2deb37321af5c74be59f1f9d5cfa5744c5fa8 + sha256sums = f7bc36320110c8fd2f87c6d2bb5df6d2231ca9ab31a299b1565de63f7681cc83 + source_armv6h = bass24-linux-armv6.zip::http://dl.un4seen.com/stuff/bass24-linux-arm.zip + sha256sums_armv6h = 84af659883eee1a5718d1a9bcb3fcc7d122b40a6f28c03cff2ab2e359d236e49 + source_aarch64 = http://dl.un4seen.com/stuff/bass24-linux-aarch64.zip + sha256sums_aarch64 = a1a481e3a9b163a698734c1311b6b38627a80fc252ec0498136298cb6bff8bf7 + +pkgname = libbass + +pkgbase = libbass + pkgdesc = BASS audio library + pkgver = 2.4.12 + pkgrel = 1 + url = http://www.un4seen.com/ + arch = i686 + arch = x86_64 + arch = armv6h + arch = armv7h + arch = aarch64 + license = custom + depends = alsa-lib + depends = unzip + source = http://dl.un4seen.com/files/bass24-linux.zip + source = LICENSE + sha256sums = a7c97bd246272406a44ad73dcbc2deb37321af5c74be59f1f9d5cfa5744c5fa8 + sha256sums = f7bc36320110c8fd2f87c6d2bb5df6d2231ca9ab31a299b1565de63f7681cc83 + source_armv6h = bass24-linux-armv6h.zip::http://dl.un4seen.com/stuff/bass24-linux-arm.zip + sha256sums_armv6h = 84af659883eee1a5718d1a9bcb3fcc7d122b40a6f28c03cff2ab2e359d236e49 + source_armv7h = bass24-linux-armv7h.zip::http://dl.un4seen.com/stuff/bass24-linux-arm.zip + sha256sums_armv7h = 84af659883eee1a5718d1a9bcb3fcc7d122b40a6f28c03cff2ab2e359d236e49 + source_aarch64 = http://dl.un4seen.com/stuff/bass24-linux-aarch64.zip + sha256sums_aarch64 = a1a481e3a9b163a698734c1311b6b38627a80fc252ec0498136298cb6bff8bf7 + +pkgname = libbass + diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..b12b1cb27805 --- /dev/null +++ b/LICENSE @@ -0,0 +1,60 @@ +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 new file mode 100644 index 000000000000..bb11bd46a126 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Alexander Sulfrian <asulfrian@zedat.fu-berlin.de> +pkgname=libbass +pkgver=2.4.12 +pkgrel=1 +pkgdesc="BASS audio library" +arch=(i686 x86_64 armv6h armv7h aarch64) +url="http://www.un4seen.com/" +license=(custom) +depends=(alsa-lib unzip) + +source=(http://dl.un4seen.com/files/bass24-linux.zip LICENSE) +sha256sums=('a7c97bd246272406a44ad73dcbc2deb37321af5c74be59f1f9d5cfa5744c5fa8' + 'f7bc36320110c8fd2f87c6d2bb5df6d2231ca9ab31a299b1565de63f7681cc83') + +source_armv6h=(bass24-linux-armv6h.zip::http://dl.un4seen.com/stuff/bass24-linux-arm.zip) +sha256sums_armv6h=('84af659883eee1a5718d1a9bcb3fcc7d122b40a6f28c03cff2ab2e359d236e49') +source_armv7h=(bass24-linux-armv7h.zip::http://dl.un4seen.com/stuff/bass24-linux-arm.zip) +sha256sums_armv7h=('84af659883eee1a5718d1a9bcb3fcc7d122b40a6f28c03cff2ab2e359d236e49') +source_aarch64=(http://dl.un4seen.com/stuff/bass24-linux-aarch64.zip) +sha256sums_aarch64=('a1a481e3a9b163a698734c1311b6b38627a80fc252ec0498136298cb6bff8bf7') + +build () { + unzip -q bass24-linux.zip -d "$srcdir/$pkgname-$pkgver" + + if [[ -e "bass24-linux-$CARCH.zip" ]]; then + unzip -q bass24-linux-$CARCH.zip -d "$srcdir/$pkgname-$pkgver/$CARCH" + fi +} + +package () { + install -D -m644 "$startdir/LICENSE" \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + cd "$srcdir/$pkgname-$pkgver" + + case "$CARCH" in + i686) + install -D -m755 libbass.so "$pkgdir/usr/lib/libbass.so" + ;; + x86_64) + install -D -m755 x64/libbass.so "$pkgdir/usr/lib/libbass.so" + ;; + armv6h|armv7h) + install -D -m755 $CARCH/hardfp/libbass.so "$pkgdir/usr/lib/libbass.so" + ;; + aarch64) + install -D -m755 $CARCH/libbass.so "$pkgdir/usr/lib/libbass.so" + ;; + esac + + install -D -m644 bass.chm "$pkgdir/usr/share/doc/libbass/bass.chm" +} |