summaryrefslogtreecommitdiff
path: root/community/hex-a-hop/PKGBUILD
blob: 4a1715e85c8cca96c26258a94ca75ffbcd96b2a3 (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
# $Id: PKGBUILD 65596 2012-02-21 09:23:24Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: insulae <insulae@gmail.com>

pkgname=hex-a-hop
pkgver=1.1.0
pkgrel=3
pkgdesc='Hex-a-hop is a puzzle game based on hexagonal tiles'
arch=('i686' 'x86_64')
url='http://hexahop.sourceforge.net/'
license=('GPL')
depends=('sdl_mixer' 'sdl_ttf' 'gcc-libs')
makedepends=()
options=()
source=("http://downloads.sourceforge.net/project/hexahop/$pkgver/hex-a-hop-$pkgver.tar.gz"
	"hex-a-hop.desktop")
md5sums=('cc8d065c2cc0fce9e08852b8c465175e'
         '048ff7975024ae1eda3164620f594c09')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
  make install DESTDIR=${pkgdir}
  install -Dm0644 $srcdir/hex-a-hop.desktop $pkgdir/usr/share/applications/hex-a-hop.desktop
}