summaryrefslogtreecommitdiff
path: root/extra/tuxpuck/PKGBUILD
blob: bbd316b5d3f94a9ba25adbba30d17618bc13be07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 63695 2010-01-18 10:38:26Z andrea $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=tuxpuck
pkgver=0.8.2
pkgrel=4
pkgdesc="Airhockey with tux"
arch=('i686' 'x86_64')
url="http://home.no.net/munsuun/tuxpuck/"
license=('GPL2')
depends=('libjpeg>=8' 'sdl' 'libpng>=1.4.0' 'libvorbis')
makedepends=('freetype2')
options=('!makeflags')
source=(http://ftp.de.debian.org/debian/pool/main/t/${pkgname}/${pkgname}_$pkgver.orig.tar.gz)
md5sums=('fc839abc2b1f3eafae397e1ed6487079')

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
}