diff options
-rw-r--r-- | papersplease/PKGBUILD | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/papersplease/PKGBUILD b/papersplease/PKGBUILD index 366e473..3d6d804 100644 --- a/papersplease/PKGBUILD +++ b/papersplease/PKGBUILD @@ -9,6 +9,8 @@ arch=('i686' 'x86_64') url="http://papersplea.se" license=('custom:commercial') depends=('sh' 'hicolor-icon-theme') +depends_x86_64=('lib32-gcc-libs' 'lib32-libgl') +depends_i386=('gcc-libs' 'libgl') options=(!strip) source=("$pkgname.desktop" "launch-$pkgname.sh" @@ -19,15 +21,6 @@ sha256sums=('478b736281d4d397bcff3972a548dc85bddae49342d561adefa25186310cd5ec' 'e8aaf890dbfa6363f0197892ca2abd5ac4a45918787a8524cf8c99d785000823' '50562ad2b01cb7558147cd05de4dc37c02deb2e66fc5d3bff77994785f9551d7') -# Modify depends for the arch type -if [ "$CARCH" = "x86_64" ] -then - depends+=('lib32-gcc-libs' 'lib32-libgl') -elif [ "$CARCH" = "i686" ] -then - depends+=('gcc-libs' 'libgl') -fi - # Disable compression of the package PKGEXT='.pkg.tar' |