1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
5 pkgver=0.9.7%7Egit_1298_g1d9a578
7 pkgdesc="A lightweight & open source microblogging software (twitter identi.ca) in Qt."
9 url="http://www.hotot.org/"
12 makedepends=('cmake' 'intltool')
13 install="$pkgname.install"
14 source=("https://launchpad.net/~hotot-team/+archive/ppa/+files/${_pkg}_${pkgver//_/-}-0ubuntu0ppa1%7Eoneiric1.tar.gz")
15 md5sums=('1a1d1b110d1eee9bae5a28001ad09cd4')
18 cd "$srcdir/$_pkg-oneiric"
20 # remove google analytics tracking code (tnx to ianux)
21 sed -i '/\/\/ 6. run track code/,+14d' data/js/hotot.js
22 sed -i '/ga.js/d' data/index.html
25 [ -d build-qt ] || mkdir build-qt && cd build-qt
26 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
31 cd "$srcdir/$_pkg-oneiric"/build-qt
33 make DESTDIR="$pkgdir/" install