[arch-commits] Commit in hedgewars/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Sep 10 21:58:54 UTC 2015
Date: Thursday, September 10, 2015 @ 23:58:54
Author: foutrelis
Revision: 139888
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
hedgewars/repos/community-staging-i686/
hedgewars/repos/community-staging-i686/PKGBUILD
(from rev 139887, hedgewars/trunk/PKGBUILD)
hedgewars/repos/community-staging-i686/hedgewars.png
(from rev 139887, hedgewars/trunk/hedgewars.png)
hedgewars/repos/community-staging-x86_64/
hedgewars/repos/community-staging-x86_64/PKGBUILD
(from rev 139887, hedgewars/trunk/PKGBUILD)
hedgewars/repos/community-staging-x86_64/hedgewars.png
(from rev 139887, hedgewars/trunk/hedgewars.png)
-----------------------------------+
community-staging-i686/PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++
2 files changed, 108 insertions(+)
Copied: hedgewars/repos/community-staging-i686/PKGBUILD (from rev 139887, hedgewars/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-10 21:58:54 UTC (rev 139888)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=hedgewars
+pkgver=0.9.21.1
+pkgrel=3
+pkgdesc="Turn-based strategy artillery game similiar to Worms"
+arch=('i686' 'x86_64')
+url="http://hedgewars.org"
+license=('GPL' 'custom')
+depends=('qt4' 'sdl' 'sdl_mixer' 'sdl_image' 'sdl_net' 'sdl_ttf' 'lua51' 'ffmpeg' 'glut' 'physfs')
+makedepends=('fpc' 'cmake'
+ # haskell specific
+ 'ghc'
+ 'haskell-network'
+ 'haskell-bytestring-show'
+ 'haskell-utf8-string'
+ 'haskell-dataenc'
+ 'haskell-hslogger'
+ 'haskell-vector'
+ 'haskell-entropy'
+ 'haskell-sha'
+ 'haskell-zlib'
+ 'haskell-random')
+source=(http://download.gna.org/hedgewars/hedgewars-src-$pkgver.tar.bz2
+ hedgewars.png)
+md5sums=('5c87b1ff54c861ae0cae6a9c1198f957'
+ 'eeb14d50df39063549ac5eca9dbc65d1')
+
+prepare() {
+ cd $pkgname-src-*
+ sed -i 's|instance NFData (Chan a)$|instance NFData (Chan a) where rnf x = seq x ()|' gameServer/CoreTypes.hs
+}
+
+build() {
+ cd $pkgname-src-*
+ mkdir -p $srcdir/bin
+ ln -sf /usr/bin/lrelease-qt4 $srcdir/bin/Qt4::lrelease
+ export PATH=$srcdir/bin:$PATH
+ cmake \
+ -DCMAKE_BUILD_TYPE="Release" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DDATA_INSTALL_DIR=/usr/share/hedgewars \
+ -DNOSERVER=0 .
+ make
+}
+
+package() {
+ cd $pkgname-src-*
+ make DESTDIR=$pkgdir install
+ install -D -m644 Fonts_LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/Fonts_LICENSE.txt
+ install -D -m644 $srcdir/hedgewars.png $pkgdir/usr/share/pixmaps/hedgewars.png
+ install -D -m644 share/hedgewars/Data/misc/hedgewars.desktop $pkgdir/usr/share/applications/hedgewars.desktop
+}
Copied: hedgewars/repos/community-staging-i686/hedgewars.png (from rev 139887, hedgewars/trunk/hedgewars.png)
===================================================================
(Binary files differ)
Copied: hedgewars/repos/community-staging-x86_64/PKGBUILD (from rev 139887, hedgewars/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-10 21:58:54 UTC (rev 139888)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=hedgewars
+pkgver=0.9.21.1
+pkgrel=3
+pkgdesc="Turn-based strategy artillery game similiar to Worms"
+arch=('i686' 'x86_64')
+url="http://hedgewars.org"
+license=('GPL' 'custom')
+depends=('qt4' 'sdl' 'sdl_mixer' 'sdl_image' 'sdl_net' 'sdl_ttf' 'lua51' 'ffmpeg' 'glut' 'physfs')
+makedepends=('fpc' 'cmake'
+ # haskell specific
+ 'ghc'
+ 'haskell-network'
+ 'haskell-bytestring-show'
+ 'haskell-utf8-string'
+ 'haskell-dataenc'
+ 'haskell-hslogger'
+ 'haskell-vector'
+ 'haskell-entropy'
+ 'haskell-sha'
+ 'haskell-zlib'
+ 'haskell-random')
+source=(http://download.gna.org/hedgewars/hedgewars-src-$pkgver.tar.bz2
+ hedgewars.png)
+md5sums=('5c87b1ff54c861ae0cae6a9c1198f957'
+ 'eeb14d50df39063549ac5eca9dbc65d1')
+
+prepare() {
+ cd $pkgname-src-*
+ sed -i 's|instance NFData (Chan a)$|instance NFData (Chan a) where rnf x = seq x ()|' gameServer/CoreTypes.hs
+}
+
+build() {
+ cd $pkgname-src-*
+ mkdir -p $srcdir/bin
+ ln -sf /usr/bin/lrelease-qt4 $srcdir/bin/Qt4::lrelease
+ export PATH=$srcdir/bin:$PATH
+ cmake \
+ -DCMAKE_BUILD_TYPE="Release" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DDATA_INSTALL_DIR=/usr/share/hedgewars \
+ -DNOSERVER=0 .
+ make
+}
+
+package() {
+ cd $pkgname-src-*
+ make DESTDIR=$pkgdir install
+ install -D -m644 Fonts_LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/Fonts_LICENSE.txt
+ install -D -m644 $srcdir/hedgewars.png $pkgdir/usr/share/pixmaps/hedgewars.png
+ install -D -m644 share/hedgewars/Data/misc/hedgewars.desktop $pkgdir/usr/share/applications/hedgewars.desktop
+}
Copied: hedgewars/repos/community-staging-x86_64/hedgewars.png (from rev 139887, hedgewars/trunk/hedgewars.png)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list