updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / qwit-beta / PKGBUILD
blob45d3c51bbda3aecbc8d4e5daf919e8089a678485
1 # Contributor: Ricardo Martins <ricardo+aur@scarybox.net>
2 # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
3 # Contributor: Aurel Canciu <aurelcanciu [at] gmail [dot] com>
5 pkgname=qwit-beta
6 pkgver=1.1
7 pkgrel=2
8 pkgdesc="Qt4 cross-platform client for Twitter"
9 arch=('i686' 'x86_64')
10 url="http://code.google.com/p/qwit/"
11 license=('GPL3')
12 depends=('qt' 'openssl' 'qoauth' 'qca-ossl')
13 provides=('qwit')
14 install=qwit.install
15 source=(http://qwit.googlecode.com/files/qwit-$pkgver-beta-src.tar.bz2)
16 md5sums=('b5d2985152413eaef6913a6e3fab8bc7')
18 build() {
19   cd qwit-$pkgver-beta-src || return 1
21   # Fix .desktop item.
22   sed -i 's|Internet||' qwit.desktop || return 1
23   # Compile and package the program.
24   qmake -unix PREFIX=/usr -o Makefile qwit.pro || return 1
25   make \
26     CFLAGS="-pipe ${CFLAGS} -g -Wall -W -D_REENTRANT \$(DEFINES)" \
27     CXXFLAGS="-pipe ${CXXFLAGS} -g -Wall -W -D_REENTRANT \$(DEFINES)" || return 1
28   make INSTALL_ROOT="$pkgdir" install || return 1