updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / tkabbur / PKGBUILD
blobb296b3fa4234b2ed3f3f92078bf22fbf5777c681
1 # Contributor: pliy <ply at jabster.pl>
2 pkgname=tkabbur
3 pkgver=0.8
4 pkgrel=1
5 pkgdesc="modification of XMPP/Jabber client Tkabber"
6 arch=(i686 x86_64)
7 url="http://code.google.com/p/tkabbur/"
8 license=('GPL2')
9 depends=(tcl tk)
10 source=(http://tkabbur.googlecode.com/files/$pkgname-$pkgver.src.tar.bz2)
11 noextract=()
12 md5sums=('e999f78155eb70709a0c005ecb037cd6')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver.src"
16   
17   # Prefix
18   sed 's/\/usr\/local/\/usr/g' Makefile > Makefile.tmp || return 1
19   mv -f Makefile.tmp Makefile || return 1
21   make DESTDIR="$pkgdir/"
23   # Repair permissions
24   cd $pkgdir
25   chmod -R u=rw,u-x,u+X,go=r,go-x,go+X *
26   chmod a+x "usr/bin/$pkgname" "usr/share/$pkgname"
29 # vim:set ts=2 sw=2 et: