summaryrefslogtreecommitdiff
path: root/community/hex-a-hop/PKGBUILD
blob: 80e12e8ac33d66524c35debe418498f1216b0654 (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 42002 2011-03-11 13:44:37Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: insulae <insulae@gmail.com>

pkgname=hex-a-hop
pkgver=1.1.0
pkgrel=2
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=(force)
source=("https://downloads.sourceforge.net/project/hexahop/${pkgname}/${pkgver}/${pkgname}-${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
}