summaryrefslogtreecommitdiff
path: root/community/tiled-qt/PKGBUILD
blob: 22e3fc4982b730b0c2fe16668ba84926a511a633 (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
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase>
# Collaborator: Jonathan Fine (were.Vire AT gmail DOT com)
pkgname=tiled-qt
pkgver=0.9.1
pkgrel=1
pkgdesc='A general purpose tile map editor, built to be flexible and easy to use'
arch=('i686' 'x86_64')
url='http://mapeditor.org'
license=('GPL')
depends=('qt5-base' 'libgl' 'gtk-update-icon-cache')
makedepends=('mesa' 'qt5-tools')
install=${pkgname}.install
source=(http://sourceforge.net/projects/tiled/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('d032b18e0ff7d5a4a843a1ac93a9f638')

build() {
  cd $srcdir/$pkgname-$pkgver
  qmake -r INSTALL_HEADERS=yes RPATH=no PREFIX=/usr
  make
}

package() {
  cd $pkgname-$pkgver

  make install INSTALL_ROOT=$pkgdir
}