From 69c5cd29f9dae54d9f514fadc14a52652f41c4fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20R=C3=BCmpelein?= Date: Mon, 2 Feb 2015 11:01:20 +0100 Subject: [PATCH 1/3] Added installing license. --- PKGBUILD | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 192d1ad..5085e17 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,18 +5,24 @@ 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') 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 - install -m 755 X32-Edit ${pkgdir}/usr/bin/ + 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 } From ac038e9c95acaf9ac3c20cbfad46c6e483787728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20R=C3=BCmpelein?= Date: Mon, 2 Feb 2015 11:09:17 +0100 Subject: [PATCH 2/3] Added install-file for License info. --- PKGBUILD | 1 + x32edit.install | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 x32edit.install diff --git a/PKGBUILD b/PKGBUILD index 5085e17..679cb07 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,6 +6,7 @@ pkgdesc="Remote control and programm Behringer X32 consoles" arch=('i686' 'x86_64') url="http://www.behringer.com/EN/products/X32.aspx" 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 diff --git a/x32edit.install b/x32edit.install new file mode 100644 index 0000000..3798cdc --- /dev/null +++ b/x32edit.install @@ -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 $* From 25603dbb3c1f94f70fabd69a638c9606fd4c47d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20R=C3=BCmpelein?= Date: Mon, 2 Feb 2015 11:09:49 +0100 Subject: [PATCH 3/3] Fixed error in README --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 3da9d4c..e2c393b 100644 --- a/README +++ b/README @@ -1,3 +1,3 @@ # Maintainer: Oliver Rümpelein Siegfried Krug -#actuell version: V2.3_Linux +#current version: V2.3_Linux