Merge branch 'license' into 'master'

Add License information

Adds installation of MusicGroup EULA and a message for information during installation.

Fixes #1
This commit is contained in:
Oliver Rümpelein 2015-02-02 11:13:29 +01:00
commit ab3cb6f223
3 changed files with 27 additions and 8 deletions

View file

@ -5,18 +5,25 @@ pkgrel=1
pkgdesc="Remote control and programm Behringer X32 consoles"
arch=('i686' 'x86_64')
url="http://www.behringer.com/EN/products/X32.aspx"
license=('unknown')
license=('custom:MUSIC Group End User License Agreement')
install=${pkgname}.install
depends_i686=('libxext' 'alsa-lib')
depends_x86_64=('lib32-libxext' 'lib32-alsa-lib')
source=(http://www.behringerdownload.de/X32/X32-Edit_V${pkgver}_LINUX.tar.gz)
sha512sums=('989ee6baa63b546cef6d65292f141dd4c965de71e02cd75240c948e425545f2e9e86fc826f1fd83bbd35a00ac7a1b67c318d9e5381d7f74c024ab304b3df2037')
sha256sums=('35774f0fe974db50c9dec405be6064d809a7d85fe1eef6d781f7599af77b4e6d')
md5sums=('35d978adf7f432a291ebcf7da4ec00ad')
source=(http://www.behringerdownload.de/X32/X32-Edit_V${pkgver}_LINUX.tar.gz
'http://www.behringer.com/assets/EULA_2012-09-12.pdf')
md5sums=('35d978adf7f432a291ebcf7da4ec00ad'
'20cca5d2623f1029e30e45d64438b253')
sha256sums=('35774f0fe974db50c9dec405be6064d809a7d85fe1eef6d781f7599af77b4e6d'
'3321aa0b3e208133094665281a6fc2ca001628858cd1a6388185eac93569fca8')
sha512sums=('989ee6baa63b546cef6d65292f141dd4c965de71e02cd75240c948e425545f2e9e86fc826f1fd83bbd35a00ac7a1b67c318d9e5381d7f74c024ab304b3df2037'
'fe39285768937d82f31844b789d1075de8196495727653595e59f4f1b282f6dbe18a8a8bc51b837f284601dc37c52211d3d494a8636512f5398da31ff3d30284')
package()
{
cd "${srcdir}"
tar xf X32-Edit_V${pkgver}_LINUX.tar.gz
mkdir -p ${pkgdir}/usr/bin
mkdir -p ${pkgdir}/usr/share/licenses/x32edit
install -m 755 X32-Edit ${pkgdir}/usr/bin/
install -m 644 EULA_2012-09-12.pdf ${pkgdir}/usr/share/licenses/x32edit/license.pdf
}

2
README
View file

@ -1,3 +1,3 @@
# Maintainer: Oliver Rümpelein <oli_r nospamat fg4f nospamdot de>
Siegfried Krug <siegfried nospamat fg4f nospamdot de>
#actuell version: V2.3_Linux
#current version: V2.3_Linux

12
x32edit.install Normal file
View file

@ -0,0 +1,12 @@
post_upgrade() {
post_install $1
}
post_install() {
echo ">>> You have to read and accept the End user license agreement under"
echo ">>> /usr/share/licenses/x32edit/license.pdf before using X32-Edit"
}
op=$1
shift
$op $*