Using depends_$CARCH, splitting the PKGBUILD is not necessary

This commit is contained in:
Oliver Rümpelein 2014-12-29 16:25:03 +01:00
parent 5aa517d4b8
commit 1499ac0c1e
3 changed files with 1 additions and 41 deletions

View file

@ -7,7 +7,7 @@ arch=('i686' 'x86_64')
url="http://www.behringer.com/EN/products/X32.aspx" url="http://www.behringer.com/EN/products/X32.aspx"
license=('unknown') license=('unknown')
depends_i686=('libxext' 'alsa-lib') depends_i686=('libxext' 'alsa-lib')
depends_x64_86=('lib32-libxext' 'lib32-alsa-lib') depends_x86_64=('lib32-libxext' 'lib32-alsa-lib')
_archive="X32-Edit_V${pkgver}_LINUX.tar.gz" _archive="X32-Edit_V${pkgver}_LINUX.tar.gz"
source=(http://www.behringerdownload.de/X32/${_archive}) source=(http://www.behringerdownload.de/X32/${_archive})
md5sums=('35d978adf7f432a291ebcf7da4ec00ad') md5sums=('35d978adf7f432a291ebcf7da4ec00ad')

View file

@ -1,20 +0,0 @@
# Maintainer: Oliver Rümpelein <oli_r nospamat fg4f nospamdot de>; Siegfried Krug <siegfried nospamat fg4f nospamdot de>
pkgname=x32-edit-x64
pkgver=2.3
pkgrel=1
pkgdesc="Program for preprogramm or remote control your Behringer X32 console"
arch=('x86_64')
url="http://www.behringer.com/EN/products/X32.aspx"
license=('unknown')
depends=('lib32-libxext' 'lib32-alsa-lib')
_archive="X32-Edit_V${pkgver}_LINUX.tar.gz"
source=(http://www.behringerdownload.de/X32/${_archive})
md5sums=('35d978adf7f432a291ebcf7da4ec00ad')
package()
{
cd "${srcdir}"
tar xf ${_archive}
mkdir -p ${pkgdir}/usr/bin/
install -m 755 X32-Edit ${pkgdir}/usr/bin/
}

View file

@ -1,20 +0,0 @@
# Maintainer: Oliver Rümpelein <oli_r nospamat fg4f nospamdot de>; Siegfried Krug <siegfried nospamat fg4f nospamdot de>
pkgname=x32-edit-i686
pkgver=2.3
pkgrel=1
pkgdesc="Program for preprogramm or remote control your Behringer X32 console"
arch=('i686')
url="http://www.behringer.com/EN/products/X32.aspx"
license=('unknown')
depends=('libxext' 'alsa-lib')
_archive="X32-Edit_V${pkgver}_LINUX.tar.gz"
source=(http://www.behringerdownload.de/X32/${_archive})
md5sums=('35d978adf7f432a291ebcf7da4ec00ad')
package()
{
cd "${srcdir}"
tar xf ${_archive}
mkdir -p ${pkgdir}/usr/bin/
install -m 755 X32-Edit ${pkgdir}/usr/bin/
}