updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / tx / PKGBUILD
blob5764815904d6fb651acd702ec4a4cab27a13c375
1 # Contributor: pfm <nl081130@yahoo.de>
2 pkgname=tx
3 pkgver=1.2
4 pkgrel=3
5 pkgdesc="Qt4 based tabular XML editor"
6 arch=('i686' 'x86_64')
7 #url="http://www.gravitybind.com/"
8 url="http://jinsookang.net/"
9 license=('GPL2')
10 depends=('qt')
11 replaces=('teddy')
12 provides=('teddy')
13 source=("http://jinsookang.net/download/${pkgname}_1-2_src.zip" \
14         "tx.desktop")
15 md5sums=('5d40113430e7dcb72a490e9644f11561'
16          'feb9b0f064e4a6c79a6523e4232fdc85')
18 build() {
19   cd $srcdir/$pkgname
20   qmake tx.pro
21   make || return 1
22   install -D -m 755 $srcdir/$pkgname/bin/tx \
23                     $pkgdir/usr/bin/tx || return 1
24   # icon
25   install -D -m 644 $srcdir/$pkgname/images/tX.png \
26         $pkgdir/usr/share/pixmaps/tx.png || return 1
27   install -D -m 644 $srcdir/tx.desktop \
28         $pkgdir/usr/share/applications/tx.desktop || return 1