summaryrefslogtreecommitdiff
path: root/community/tiled-qt/PKGBUILD
blob: 53be80468893b10194d012037e7382bd4475b2dc (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.0
pkgrel=4
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' 'qt5-tools' 'libgl' 'gtk-update-icon-cache')
makedepends=('mesa')
install=${pkgname}.install
source=(http://sourceforge.net/projects/tiled/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('e2e21a54ff17e34b49b8a330cc8b657e')

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

package() {
  cd $pkgname-$pkgver

  make install INSTALL_ROOT=$pkgdir
}