summaryrefslogtreecommitdiff
path: root/community/tiled-qt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/tiled-qt/PKGBUILD')
-rw-r--r--community/tiled-qt/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/tiled-qt/PKGBUILD b/community/tiled-qt/PKGBUILD
new file mode 100644
index 000000000..c26c18726
--- /dev/null
+++ b/community/tiled-qt/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase>
+# Collaborator: Jonathan Fine (were.Vire AT gmail DOT com)
+pkgname=tiled-qt
+pkgver=0.9.0
+pkgrel=6
+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=('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
+}