diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-07 21:24:08 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-07 21:24:08 -0300 |
commit | 96c65d8a0393645808ab5ea31776baa26209fc5f (patch) | |
tree | 23a4b88cc7130b5c0af6fb1cd0ca32625857e155 /extra/tuxpuck/PKGBUILD | |
parent | 02cd5c40b37e2e6ebe56f5f89f9e8ab85c02be59 (diff) | |
parent | b07a9cd02c59fb33fb249aee0de79b45d4b96fbb (diff) |
Merge branch 'master' of ssh://gparabola/abslibre-mips64el
Diffstat (limited to 'extra/tuxpuck/PKGBUILD')
-rw-r--r-- | extra/tuxpuck/PKGBUILD | 35 |
1 files changed, 27 insertions, 8 deletions
diff --git a/extra/tuxpuck/PKGBUILD b/extra/tuxpuck/PKGBUILD index 65bd3c55a..f9b7fc1c8 100644 --- a/extra/tuxpuck/PKGBUILD +++ b/extra/tuxpuck/PKGBUILD @@ -1,22 +1,41 @@ -# $Id: PKGBUILD 63695 2010-01-18 10:38:26Z andrea $ +# $Id: PKGBUILD 148948 2012-02-05 11:57:19Z ibiru $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=tuxpuck pkgver=0.8.2 -pkgrel=4 +pkgrel=5 pkgdesc="Airhockey with tux" arch=('i686' 'x86_64' 'mips64el') url="http://home.no.net/munsuun/tuxpuck/" license=('GPL2') -depends=('libjpeg>=8' 'sdl' 'libpng>=1.4.0' 'libvorbis') +depends=('libjpeg' 'sdl' 'libpng' 'libvorbis') makedepends=('freetype2') options=('!makeflags') -source=(http://ftp.de.debian.org/debian/pool/main/t/${pkgname}/${pkgname}_$pkgver.orig.tar.gz) -md5sums=('fc839abc2b1f3eafae397e1ed6487079') +source=("http://ftp.de.debian.org/debian/pool/main/t/${pkgname}/${pkgname}_$pkgver.orig.tar.gz" + 'tuxpuck-0.8.2-ldflags.patch' + 'tuxpuck-0.8.2-libpng15.patch') +md5sums=('fc839abc2b1f3eafae397e1ed6487079' + 'cb914d211bf3f519b7700fda180612b0' + 'a4da530d670a0c30ac0840aab1db0dca') build() { cd $srcdir/$pkgname-$pkgver - sed -i 's|usr/man|usr/share/man|' Makefile || return 1 - make || return 1 - make DESTDIR=$pkgdir install || return 1 + + sed -i 's|usr/man|usr/share/man|' Makefile + sed -i -e 's/-Werror//' \ + -e '/^CC/d' \ + Makefile \ + utils/Makefile \ + data/Makefile + + patch -Np0 -i "${srcdir}/tuxpuck-0.8.2-ldflags.patch" + patch -Np0 -i "${srcdir}/tuxpuck-0.8.2-libpng15.patch" + + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + + make DESTDIR=$pkgdir install } |