diff options
author | root <root@rshg054.dnsready.net> | 2013-02-02 00:54:57 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-02 00:54:57 -0800 |
commit | 2f5224819ae83de6e9d8de008d5f2dc24769cb0d (patch) | |
tree | 2360fd091d34099cfbc4f747babe6280da5cb65c /community/tiled-qt/PKGBUILD | |
parent | edd3a17c9ed0cc3fa7fb62b4ad4178e064d46cda (diff) |
Sat Feb 2 00:54:57 PST 2013
Diffstat (limited to 'community/tiled-qt/PKGBUILD')
-rw-r--r-- | community/tiled-qt/PKGBUILD | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/community/tiled-qt/PKGBUILD b/community/tiled-qt/PKGBUILD index d79724165..44ffe4486 100644 --- a/community/tiled-qt/PKGBUILD +++ b/community/tiled-qt/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase> # Collaborator: Jonathan Fine (were.Vire AT gmail DOT com) pkgname=tiled-qt -pkgver=0.8.1 +pkgver=0.9.0 pkgrel=1 pkgdesc='A general purpose tile map editor, built to be flexible and easy to use' arch=('i686' 'x86_64') @@ -10,32 +10,17 @@ license=('GPL') depends=('qt' 'libgl' 'gtk-update-icon-cache') makedepends=('mesa') install=${pkgname}.install -source=(http://sourceforge.net/projects/tiled/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz - tiled.desktop) -md5sums=('2a8b42e5b956562a184ab0f2b926cac7' - '3c44178b349de1c1a5f56b08d229c2f4') +source=(http://sourceforge.net/projects/tiled/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz) +md5sums=('e2e21a54ff17e34b49b8a330cc8b657e') build() { - cd $srcdir/$pkgname-$pkgver - qmake -r PREFIX=/usr - make + cd $srcdir/$pkgname-$pkgver + qmake -r INSTALL_HEADERS=yes RPATH=no PREFIX=/usr + make } package() { - cd $srcdir - install -D -m 644 tiled.desktop "$pkgdir/usr/share/applications/tiled.desktop" + cd $pkgname-$pkgver - cd $pkgname-$pkgver - - make install INSTALL_ROOT=$pkgdir - - install -D -m 644 "src/tiled/images/tiled-icon-16.png" "$pkgdir/usr/share/icons/hicolor/16x16/apps/tiled-icon.png" - install -D -m 644 "src/tiled/images/tiled-icon-32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/tiled-icon.png" - install -D -m 644 "src/tiled/images/tiled-icon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/tiled-icon.svg" - - cd src/libtiled - for i in *.h - do - install -D -m 644 $i "$pkgdir/usr/include/libtiled/$i" - done + make install INSTALL_ROOT=$pkgdir } |