updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / hexxagon / PKGBUILD
blob87e4bd6ef439c0b0d652b17483241cd1dfdface9
1 # Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
2 # Contributor: ploxiln <pierce.lopez@gmail.com>
3 pkgname=hexxagon
4 pkgver=1.0.1
5 pkgrel=1
6 pkgdesc='A clone of the old DOS game Hexxagon, with enhanced features and strong AI'
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 url='http://www.nesqi.se'
10 depends=('gtkmm')
11 source=("http://nesqi.se/hexxagon/download/hexxagon-$pkgver.tar.bz2"
12         "$pkgname.desktop")
13 md5sums=('ea168e7d7e5b6cb8592d4dbad5f1ad09'
14          '804dbd3926dbbbe10ac13d7b359a77b7')
16 build() {
17   cd "${srcdir}/${pkgname}-${pkgver}"
18   ./configure --prefix=/usr
19   make
22 package() {
23   cd "${srcdir}/${pkgname}-${pkgver}"
24   make DESTDIR="$pkgdir" install
25   install -D -m644 "${srcdir}/${pkgname}.desktop" \
26       "${pkgdir}/usr/share/applications/${pkgname}.desktop"