summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 420753dd1f364fa08ed831f77843ff282d92a80f (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=3
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://nongnu.askapache.com/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
  }