updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / tiled / PKGBUILD
blob55100ea862e55d617c959db8cf9c0a6f2db0c491
1 # Contributor: Christoph Zeiler <rabyte*gmail>
3 pkgname=tiled
4 pkgver=0.7.2
5 pkgrel=1
6 pkgdesc="A general purpose tile map editor"
7 arch=('i686' 'x86_64')
8 url="http://mapeditor.org/"
9 license=('GPL')
10 depends=('jre')
11 makedepends=('apache-ant' 'jdk')
12 source=($url/files/$pkgname-$pkgver-src.zip \
13         $pkgname.sh)
14 md5sums=('0bcb3f81da615b8531b9d4507b07293a'
15          'e8689c0747c0fbb737a89aaa98e485fb')
17 build() {
18   cd $pkgname-$pkgver
20   ant || return 1
22   mkdir -p $pkgdir/usr/share
23   cp -rf dist/ $pkgdir/usr/share/tiled/
25   install -Dm755 ../$pkgname.sh $pkgdir/usr/bin/$pkgname
28 # vim:set ts=2 sw=2 et: