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] 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 $*