summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 92f6f315821fa886dc7ce91e174e7d6bcb5af1ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Geballin - Guillaume Ballin <macniaque at free dot fr>
pkgname=awale
pkgver=1.6
pkgrel=1
pkgdesc="A free version of the classic african reflexion game."
url="http://www.nongnu.org/awale/index.html"
arch=('x86_64' 'i686')
license=('GPLv2')
depends=('sdl' 'tcl' 'tk')
optdepends=()
makedepends=(gcc make)
conflicts=()
replaces=()
backup=()
install=
source=("http://ftp.igh.cnrs.fr/pub/nongnu/awale/${pkgname}-${pkgver}.tar.gz")

md5sums=('9e7dcfcc5a658a1c97a7c7e7a679cc33'
         )

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
  }

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  chmod +x+x+x ${pkgdir}/usr/share/awale/xawale.tcl
  }