[arch-commits] Commit in dwarffortress/repos/community-i686 (8 files)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Fri Jul 11 01:36:23 UTC 2014


    Date: Friday, July 11, 2014 @ 03:36:23
  Author: svenstaro
Revision: 115419

archrelease: copy trunk to community-i686

Added:
  dwarffortress/repos/community-i686/PKGBUILD
    (from rev 115418, dwarffortress/trunk/PKGBUILD)
  dwarffortress/repos/community-i686/dwarffortress
    (from rev 115418, dwarffortress/trunk/dwarffortress)
  dwarffortress/repos/community-i686/dwarffortress.desktop
    (from rev 115418, dwarffortress/trunk/dwarffortress.desktop)
  dwarffortress/repos/community-i686/dwarffortress.png
    (from rev 115418, dwarffortress/trunk/dwarffortress.png)
Deleted:
  dwarffortress/repos/community-i686/PKGBUILD
  dwarffortress/repos/community-i686/dwarffortress
  dwarffortress/repos/community-i686/dwarffortress.desktop
  dwarffortress/repos/community-i686/dwarffortress.png

-----------------------+
 PKGBUILD              |  143 ++++++++++++++++++++++++------------------------
 dwarffortress         |   30 +++++-----
 dwarffortress.desktop |   18 +++---
 3 files changed, 96 insertions(+), 95 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-11 01:36:16 UTC (rev 115418)
+++ PKGBUILD	2014-07-11 01:36:23 UTC (rev 115419)
@@ -1,71 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Daenyth <Daenyth+Arch [AT] gmail [DOT] com>
-# Contributor: djnm <nmihalich [at} gmail dott com>
-pkgname=dwarffortress
-pkgver=0.40.01
-_pkgver=40_01
-pkgrel=1
-pkgdesc="A single-player fantasy game. You control a dwarven outpost or an adventurer in a randomly generated persistent 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)
-makedepends=(git cmake)
-options=('!strip')
-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
-        git://github.com/svenstaro/dwarf_fortress_unfuck.git
-        dwarffortress
-        dwarffortress.desktop
-        dwarffortress.png)
-sha256sums=('fbb7cdd09e785fbe9f884868a0817279ef4ce45423ca9503d5f0731a8abfd7b4'
-            'SKIP'
-            '4a7cc39dabe4fa3c28fdb9bdff83f7cdf55de0beff700fd6ebe605dda2f81688'
-            'e79e3d945c6cc0da58f4ca30a210c7bf1bc3149fd10406d1262a6214eb40445a'
-            '83183abc70b11944720b0d86f4efd07468f786b03fa52fe429ca8e371f708e0f')
-
-build() {
-  cd $srcdir/dwarf_fortress_unfuck
-
-  cmake .
-  make
-}
-
-package() {
-  install -dm755 $pkgdir/opt/
-  cp -r $srcdir/df_linux $pkgdir/opt/$pkgname
-  rm -r $pkgdir/opt/$pkgname/df $pkgdir/opt/$pkgname/libs/* $pkgdir/opt/$pkgname/g_src
-
-  find $pkgdir/opt/$pkgname -type d -exec chmod 755 {} +
-  find $pkgdir/opt/$pkgname -type f -exec chmod 644 {} +
-
-  install -Dm755 $srcdir/df_linux/libs/Dwarf_Fortress $pkgdir/opt/$pkgname/libs/Dwarf_Fortress
-  install -Dm755 $srcdir/dwarf_fortress_unfuck/libgraphics.so $pkgdir/opt/$pkgname/libs/libgraphics.so
-  install -Dm755 $srcdir/dwarffortress $pkgdir/usr/bin/$pkgname
-
-  # No idea why we need this. Really. This isn't being loaded dynamically, it's not linked and
-  # in general there is no indication this is being used. However, it doesn't work without this symlink.
-  ln -s /usr/lib32/libpng.so $pkgdir/opt/$pkgname/libs/libpng.so.3
-
-  # Set pkgname in runscript
-  sed -i "s/^pkgname=.*/pkgname=$pkgname/" $pkgdir/usr/bin/$pkgname
-
-  # Desktop launcher with icon
-  install -Dm644 $srcdir/dwarffortress.desktop $pkgdir/usr/share/applications/"$pkgname".desktop
-  install -Dm644 $srcdir/dwarffortress.png     $pkgdir/usr/share/pixmaps/"$pkgname".png
-
-  install -Dm644 $srcdir/df_linux/readme.txt $pkgdir/usr/share/licenses/$pkgname/readme.txt
-}
-
-# vim:set ts=2 sw=2 et:

Copied: dwarffortress/repos/community-i686/PKGBUILD (from rev 115418, dwarffortress/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-07-11 01:36:23 UTC (rev 115419)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Daenyth <Daenyth+Arch [AT] gmail [DOT] com>
+# Contributor: djnm <nmihalich [at} gmail dott com>
+pkgname=dwarffortress
+pkgver=0.40.02
+_pkgver=40_02
+pkgrel=1
+pkgdesc="A single-player fantasy game. You control a dwarven outpost or an adventurer in a randomly generated persistent 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)
+makedepends=(git cmake)
+options=('!strip')
+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
+        git://github.com/svenstaro/dwarf_fortress_unfuck.git
+        dwarffortress
+        dwarffortress.desktop
+        dwarffortress.png)
+sha256sums=('5117be584683d3dce7e189f054755bd6ce9bf8bfac151ca64712e6f05ff4253e'
+            'SKIP'
+            '4a7cc39dabe4fa3c28fdb9bdff83f7cdf55de0beff700fd6ebe605dda2f81688'
+            'e79e3d945c6cc0da58f4ca30a210c7bf1bc3149fd10406d1262a6214eb40445a'
+            '83183abc70b11944720b0d86f4efd07468f786b03fa52fe429ca8e371f708e0f')
+
+build() {
+  cd $srcdir/dwarf_fortress_unfuck
+
+  cmake .
+  make
+}
+
+package() {
+  install -dm755 $pkgdir/opt/
+  cp -r $srcdir/df_linux $pkgdir/opt/$pkgname
+  rm -r $pkgdir/opt/$pkgname/df $pkgdir/opt/$pkgname/libs/* $pkgdir/opt/$pkgname/g_src
+
+  find $pkgdir/opt/$pkgname -type d -exec chmod 755 {} +
+  find $pkgdir/opt/$pkgname -type f -exec chmod 644 {} +
+
+  install -Dm755 $srcdir/df_linux/libs/Dwarf_Fortress $pkgdir/opt/$pkgname/libs/Dwarf_Fortress
+  install -Dm755 $srcdir/dwarf_fortress_unfuck/libgraphics.so $pkgdir/opt/$pkgname/libs/libgraphics.so
+  install -Dm755 $srcdir/dwarffortress $pkgdir/usr/bin/$pkgname
+
+  # No idea why we need this. Really. This isn't being loaded dynamically, it's not linked and
+  # in general there is no indication this is being used. However, it doesn't work without this symlink.
+  [[ $CARCH == "x86_64" ]] && ln -s /usr/lib32/libpng.so $pkgdir/opt/$pkgname/libs/libpng.so.3
+  [[ $CARCH == "i686" ]] && ln -s /usr/lib/libpng.so $pkgdir/opt/$pkgname/libs/libpng.so.3
+
+  # Set pkgname in runscript
+  sed -i "s/^pkgname=.*/pkgname=$pkgname/" $pkgdir/usr/bin/$pkgname
+
+  # Desktop launcher with icon
+  install -Dm644 $srcdir/dwarffortress.desktop $pkgdir/usr/share/applications/"$pkgname".desktop
+  install -Dm644 $srcdir/dwarffortress.png     $pkgdir/usr/share/pixmaps/"$pkgname".png
+
+  install -Dm644 $srcdir/df_linux/readme.txt $pkgdir/usr/share/licenses/$pkgname/readme.txt
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: dwarffortress
===================================================================
--- dwarffortress	2014-07-11 01:36:16 UTC (rev 115418)
+++ dwarffortress	2014-07-11 01:36:23 UTC (rev 115419)
@@ -1,15 +0,0 @@
-#!/bin/sh
-export SDL_DISABLE_LOCK_KEYS=1 # Work around for bug in Debian/Ubuntu SDL patch.
-#export SDL_VIDEO_CENTERED=1    # Centre the screen.  Messes up resizing.
-
-pkgname=dwarffortress #To be set by PKGBUILD
-
-if [[ ! -d "$HOME/.$pkgname" ]]; then
-    mkdir "$HOME/.$pkgname"
-    cp -rn /opt/"$pkgname"/data "$HOME/.$pkgname/"
-    cp -rsn /opt/"$pkgname"/* "$HOME/.$pkgname/"
-fi
-
-cd "$HOME/.$pkgname"
-exec ./libs/Dwarf_Fortress "$@"
-

Copied: dwarffortress/repos/community-i686/dwarffortress (from rev 115418, dwarffortress/trunk/dwarffortress)
===================================================================
--- dwarffortress	                        (rev 0)
+++ dwarffortress	2014-07-11 01:36:23 UTC (rev 115419)
@@ -0,0 +1,15 @@
+#!/bin/sh
+export SDL_DISABLE_LOCK_KEYS=1 # Work around for bug in Debian/Ubuntu SDL patch.
+#export SDL_VIDEO_CENTERED=1    # Centre the screen.  Messes up resizing.
+
+pkgname=dwarffortress #To be set by PKGBUILD
+
+if [[ ! -d "$HOME/.$pkgname" ]]; then
+    mkdir "$HOME/.$pkgname"
+    cp -rn /opt/"$pkgname"/data "$HOME/.$pkgname/"
+    cp -rsn /opt/"$pkgname"/* "$HOME/.$pkgname/"
+fi
+
+cd "$HOME/.$pkgname"
+exec ./libs/Dwarf_Fortress "$@"
+

Deleted: dwarffortress.desktop
===================================================================
--- dwarffortress.desktop	2014-07-11 01:36:16 UTC (rev 115418)
+++ dwarffortress.desktop	2014-07-11 01:36:23 UTC (rev 115419)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Dwarf Fortress
-GenericName=Dwarf Fortress
-Comment=A single-player fantasy game.
-Exec=dwarffortress
-Icon=/usr/share/pixmaps/dwarffortress.png
-Terminal=false
-Type=Application
-Categories=Game;
\ No newline at end of file

Copied: dwarffortress/repos/community-i686/dwarffortress.desktop (from rev 115418, dwarffortress/trunk/dwarffortress.desktop)
===================================================================
--- dwarffortress.desktop	                        (rev 0)
+++ dwarffortress.desktop	2014-07-11 01:36:23 UTC (rev 115419)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Dwarf Fortress
+GenericName=Dwarf Fortress
+Comment=A single-player fantasy game.
+Exec=dwarffortress
+Icon=/usr/share/pixmaps/dwarffortress.png
+Terminal=false
+Type=Application
+Categories=Game;
\ No newline at end of file

Deleted: dwarffortress.png
===================================================================
(Binary files differ)

Copied: dwarffortress/repos/community-i686/dwarffortress.png (from rev 115418, dwarffortress/trunk/dwarffortress.png)
===================================================================
(Binary files differ)




More information about the arch-commits mailing list