1 # Contributor: Ricardo Martins <ricardo+aur@scarybox.net>
2 # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
7 pkgdesc="Qt4 cross-platform client for Twitter"
9 url="http://code.google.com/p/qwit/"
11 depends=('qt' 'qoauth')
12 makedepends=('sed' 'automoc4' 'cmake')
14 source=("http://qwit.googlecode.com/files/$pkgname-${pkgver/_/-}-src.tar.bz2")
15 md5sums=('e8775236e5a8a83937bdf009193b7618')
18 cd "$srcdir"/$pkgname-${pkgver/_/-}-src || return 1
21 sed -i 's|Internet||' $pkgname.desktop
24 -e 's|\${QT_BINARY_DIR}|bin|' -e 's|/qca2||' \
25 -e 's|/icons|/pixmaps|' CMakeLists.txt
29 cmake -G "Unix Makefiles" \
30 -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
31 -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
32 -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
33 -DCMAKE_BUILD_TYPE=Release ..
39 cd "$srcdir"/$pkgname-${pkgver/_/-}-src/build || return 1
42 make install DESTDIR="$pkgdir"