summaryrefslogtreecommitdiff
path: root/community/tiled-qt
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/tiled-qt
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/tiled-qt')
-rw-r--r--community/tiled-qt/PKGBUILD26
-rw-r--r--community/tiled-qt/tiled-qt.install11
-rwxr-xr-xcommunity/tiled-qt/tiled.desktop10
3 files changed, 47 insertions, 0 deletions
diff --git a/community/tiled-qt/PKGBUILD b/community/tiled-qt/PKGBUILD
new file mode 100644
index 000000000..22e3fc498
--- /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.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
+}
diff --git a/community/tiled-qt/tiled-qt.install b/community/tiled-qt/tiled-qt.install
new file mode 100644
index 000000000..71d138f2d
--- /dev/null
+++ b/community/tiled-qt/tiled-qt.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/community/tiled-qt/tiled.desktop b/community/tiled-qt/tiled.desktop
new file mode 100755
index 000000000..05a02fa58
--- /dev/null
+++ b/community/tiled-qt/tiled.desktop
@@ -0,0 +1,10 @@
+#!/usr/bin/env xdg-open
+[Desktop Entry]
+Name=Tiled
+Comment=Edit Video Game Tile Maps
+GenericName=Tiled
+Exec=tiled
+Terminal=false
+Type=Application
+Icon=tiled-icon
+Categories=Application;Qt;Games;Development;