diff options
Diffstat (limited to 'community/wesnoth/PKGBUILD')
-rw-r--r-- | community/wesnoth/PKGBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/community/wesnoth/PKGBUILD b/community/wesnoth/PKGBUILD index 59f1044d1..fa7d64890 100644 --- a/community/wesnoth/PKGBUILD +++ b/community/wesnoth/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 74014 2012-07-18 01:09:28Z ibiru $ +# $Id: PKGBUILD 75447 2012-08-24 12:33:04Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Jan de Groot <jgc@archlinux.org> # Contributor: Tobias Powalowski <tpowa@archlinux.org> @@ -7,7 +7,7 @@ pkgname=wesnoth pkgver=1.10.3 -pkgrel=2 +pkgrel=3 pkgdesc="A turn-based strategy game on a fantasy world" arch=('i686' 'x86_64') license=('GPL') @@ -17,12 +17,14 @@ makedepends=('boost' 'cmake') install=wesnoth.install options=(!emptydirs) source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 - wesnoth.tmpfiles.conf + wesnothd.tmpfiles.conf wesnothd.rc.d + wesnothd.service boost_foreach.patch) md5sums=('b25354c71d58f82c2c60cc12c6f09c36' - 'b8122f5054e3895c9c054e87460869dc' + '2d2fea6b3d86dfd589f5ad35a3be1f97' '85659b47d22dfdf4e4d046556973fc3e' + 'd1b6bf1d3dc05086ee6a370adff0ae4a' '07e78c6ece06ed10119fc57ebc16ea9d') build() { @@ -36,7 +38,7 @@ build() { -DENABLE_OMP=ON \ -DENABLE_TOOLS=ON \ -DMANDIR=share/man \ - -DFIFO_DIR=/var/run/wesnothd + -DFIFO_DIR=/run/wesnothd make } @@ -51,6 +53,7 @@ package() { rm -r $pkgdir/usr/share/pixmaps rm -r $pkgdir/usr/share/wesnoth - install -Dm644 "$srcdir/wesnoth.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/wesnoth.conf" + install -Dm644 "$srcdir/wesnothd.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/wesnothd.conf" + install -Dm644 "$srcdir/wesnothd.service" "$pkgdir/usr/lib/systemd/system/wesnothd.service" install -Dm755 "$srcdir/wesnothd.rc.d" "$pkgdir/etc/rc.d/wesnothd" } |