Date: Friday, March 22, 2013 @ 11:03:03 Author: svenstaro Revision: 86793
archrelease: copy trunk to community-any Added: wesnoth-data/repos/community-any/PKGBUILD (from rev 86792, wesnoth-data/trunk/PKGBUILD) Deleted: wesnoth-data/repos/community-any/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-03-22 10:02:53 UTC (rev 86792) +++ PKGBUILD 2013-03-22 10:03:03 UTC (rev 86793) @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Jan de Groot <j...@archlinux.org> -# Contributor: Tobias Powalowski <tp...@archlinux.org> -# Contributor: Jacobo Arvelo <unix4...@ya.com> -# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> - -pkgname=wesnoth-data -pkgver=1.10.5 -pkgrel=2 -pkgdesc="A turn-based strategy game on a fantasy world (data files)" -arch=('any') -license=('GPL') -url="http://www.wesnoth.org/" -makedepends=('boost' 'cmake' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'sdl_net' 'lua' 'pango') -options=(!emptydirs) -source=(http://downloads.sourceforge.net/sourceforge/wesnoth/wesnoth-${pkgver}.tar.bz2) -md5sums=('03d9683cd83d17c6536bdf5c4940bbc8') - -build() { - cd "${srcdir}/wesnoth-${pkgver}" - - mkdir build && cd build - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DENABLE_OMP=ON \ - -DENABLE_TOOLS=ON \ - -DMANDIR=share/man \ - -DFIFO_DIR=/var/run/wesnothd - make -} - -package() { - cd "${srcdir}/wesnoth-${pkgver}" - - cd build - make DESTDIR="$pkgdir" install - - rm -r $pkgdir/usr/bin - rm -r $pkgdir/usr/share/man - - for file in $(grep -l "python" $pkgdir/usr/share/wesnoth/data/tools/*); do - sed -i "s|#!/usr/bi#n/env python|#!/usr/bin/env python2|" $file; - done -} Copied: wesnoth-data/repos/community-any/PKGBUILD (from rev 86792, wesnoth-data/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-03-22 10:03:03 UTC (rev 86793) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Jan de Groot <j...@archlinux.org> +# Contributor: Tobias Powalowski <tp...@archlinux.org> +# Contributor: Jacobo Arvelo <unix4...@ya.com> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> + +pkgname=wesnoth-data +pkgver=1.10.6 +pkgrel=1 +pkgdesc="A turn-based strategy game on a fantasy world (data files)" +arch=('any') +license=('GPL') +url="http://www.wesnoth.org/" +makedepends=('boost' 'cmake' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'sdl_net' 'lua' 'pango') +options=(!emptydirs) +source=(http://downloads.sourceforge.net/sourceforge/wesnoth/wesnoth-${pkgver}.tar.bz2) +md5sums=('547e3489bbfa778912b11dbee612c380') + +build() { + cd "${srcdir}/wesnoth-${pkgver}" + + mkdir build && cd build + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_OMP=ON \ + -DENABLE_TOOLS=ON \ + -DMANDIR=share/man \ + -DFIFO_DIR=/var/run/wesnothd + make +} + +package() { + cd "${srcdir}/wesnoth-${pkgver}" + + cd build + make DESTDIR="$pkgdir" install + + rm -r $pkgdir/usr/bin + rm -r $pkgdir/usr/share/man + + for file in $(grep -l "python" $pkgdir/usr/share/wesnoth/data/tools/*); do + sed -i "s|#!/usr/bi#n/env python|#!/usr/bin/env python2|" $file; + done +}