aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2015-02-16 16:29:23 +0100
committerTharre <tharre3@gmail.com>2015-02-16 16:29:23 +0100
commit8393ed8d859f0ae97b89f36441173a0d393f1102 (patch)
treebd4f89b4552a96cd8c47e6b76f410f74b82d8ee4
parent91482e238fe9fa5649bd56ba0fb4c1a8cb74e207 (diff)
downloadpkgbuilds-8393ed8d859f0ae97b89f36441173a0d393f1102.tar.gz
pkgbuilds-8393ed8d859f0ae97b89f36441173a0d393f1102.tar.xz
pkgbuilds-8393ed8d859f0ae97b89f36441173a0d393f1102.zip
Use depends_* for architecture-specific deps
-rw-r--r--papersplease/PKGBUILD11
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'