updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / qterm / PKGBUILD
blob857fd4422d52858262a9ff639b7c3bbd6cacb7a6
1 # Maintainer : Jekyll Wu<adaptee [at] gmail [dot] com>
2 # Maintainer : osily <ly50247 at gmail dot com>
3 # Contributor: Lee.MaRS <leemars@gmail.com>
5 pkgname=qterm
6 pkgver=0.5.12
7 pkgrel=1
8 pkgdesc="BBS client for Linux, written in Qt"
9 depends=('qt' 'openssl')
10 optdepends=('phonon')
11 makedepends=('cmake')
12 url="http://sourceforge.net/projects/qterm/"
13 arch=('i686' 'x86_64')
14 conflicts=('qterm')
15 replaces=('qterm')
16 license=('GPL')
17 source=(http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
18 md5sums=('a151e1b14bc5ebc70e67d49f40b5332c')
20 build() {
21     cd ${srcdir}/${pkgname}-${pkgver}
23     if [ -d build ] ; then
24         rm build -rf
25     fi
27     mkdir build && cd build
29     # temporary workaround with FindQt4.cmake
30     sed -i '/QT_MIN_VERSION/d' ../CMakeLists.txt
32     cmake -DCMAKE_INSTALL_PREFIX=/usr ../
33     make
36 package()
38     cd ${srcdir}/${pkgname}-${pkgver}/build
39     make DESTDIR=${pkgdir} install