PKGBUILDs/community/choqok/PKGBUILD

30 lines
890 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 1867 2009-09-05 19:49:40Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Emanuele Rossi <newdna1510@yahoo.it>
# Contributor: Bram Schoenmakers <me@bramschoenmakers.nl>
pkgname=choqok
pkgver=0.6.6
pkgrel=2
pkgdesc="A Twitter/identi.ca/laconica client for KDE 4."
url="http://choqok.gnufolks.org/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('kdebase-runtime' 'hicolor-icon-theme')
makedepends=('cmake' 'automoc4')
install=choqok.install
source=("http://ospdev.net/frs/download.php/804/$pkgname-$pkgver.tar.bz2")
md5sums=('712ba741b6f256ec230b36bfe574d1c0')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=${pkgdir} install
}