[arch-commits] Commit in dwarffortress/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Jun 3 23:06:44 UTC 2016


    Date: Saturday, June 4, 2016 @ 01:06:44
  Author: heftig
Revision: 177838

0.43.03-2: Fix deps

Modified:
  dwarffortress/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-06-03 23:05:27 UTC (rev 177837)
+++ PKGBUILD	2016-06-03 23:06:44 UTC (rev 177838)
@@ -5,24 +5,22 @@
 pkgname=dwarffortress
 pkgver=0.43.03
 _pkgver=43_03
-pkgrel=1
+pkgrel=2
 pkgdesc="A single-player fantasy game in which you build a dwarven outpost or play an adventurer in a randomly generated world"
 arch=(i686 x86_64)
 url="http://www.bay12games.com/dwarves/"
 license=('custom:dwarffortress')
-depends=(gtk2 glu sdl_image libsndfile openal sdl_ttf glew gcc-libs)
+depends_i686=(gtk2 glu sdl_image libsndfile openal sdl_ttf glew gcc-libs)
+depends_x86_64=(lib32-gcc-libs lib32-gtk2 lib32-glu lib32-sdl_image lib32-libsndfile lib32-openal
+                lib32-libxdamage lib32-ncurses lib32-sdl_ttf lib32-glew)
 makedepends=(git cmake)
+makedepends_x86_64=(gcc-multilib)
+optdepends_x86_64=('lib32-nvidia-utils: If you have nvidia graphics'
+                   'lib32-catalyst-utils: If you have ATI graphics'
+                   'lib32-alsa-lib: for alsa sound'
+                   'lib32-libpulse: for pulse sound')
 options=('!strip' '!buildflags')
 install=${pkgname}.install
-if [[ $CARCH == 'x86_64' ]]; then
-  makedepends+=(gcc-multilib)
-  depends=(gcc-libs-multilib lib32-gtk2 lib32-glu lib32-sdl_image lib32-libsndfile lib32-openal
-           lib32-libxdamage lib32-ncurses lib32-sdl_ttf lib32-glew)
-  optdepends=('lib32-nvidia-utils: If you have nvidia graphics'
-              'lib32-catalyst-utils: If you have ATI graphics'
-              'lib32-alsa-lib: for alsa sound'
-              'lib32-libpulse: for pulse sound')
-fi
 # I made a fucking github repo with the sole purpose of unfucking df a bit
 # We try to compile whatever little bit of df is open source
 source=(http://www.bay12games.com/dwarves/df_${_pkgver}_linux.tar.bz2



More information about the arch-commits mailing list