2011-01-28 00:48:39 +08:00
|
|
|
pkgname=choqok
|
2015-01-26 01:36:55 +08:00
|
|
|
pkgver=1.5
|
2015-03-06 06:00:04 +08:00
|
|
|
pkgrel=2
|
2011-01-28 00:48:39 +08:00
|
|
|
pkgdesc="A Twitter/identi.ca/laconica client for KDE"
|
|
|
|
url="http://choqok.gnufolks.org/"
|
|
|
|
license=('GPL')
|
2012-11-21 02:37:09 +08:00
|
|
|
arch=('x86_64')
|
2015-01-26 01:36:55 +08:00
|
|
|
depends=('kde-runtime' 'qjson' 'qoauth' 'qca-ossl')
|
2011-01-28 00:48:39 +08:00
|
|
|
makedepends=('cmake' 'automoc4' 'docbook-xsl')
|
2013-03-12 23:07:35 +08:00
|
|
|
optdepends=('kde-baseapps-konqueror: proxy support')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('communication')
|
2012-11-21 02:37:09 +08:00
|
|
|
screenshot=('http://choqok.gnufolks.org/uploads/choqok.png')
|
2013-09-03 05:44:39 +08:00
|
|
|
install=${pkgname}.install
|
|
|
|
changelog=${pkgname}.changelog
|
|
|
|
source=("http://sourceforge.net/projects/choqok/files/Choqok/${pkgname}-${pkgver}.tar.xz")
|
2015-01-26 01:36:55 +08:00
|
|
|
sha256sums=('5cb97ac4cdf9db4699bb7445a9411393073d213fea649ab0713f659f1308efe4')
|
2013-09-03 05:44:39 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
# Install current changelog.
|
|
|
|
install -Dm644 changelog "${startdir}/${pkgname}.changelog"
|
|
|
|
}
|
2011-01-28 00:48:39 +08:00
|
|
|
|
|
|
|
build() {
|
2013-09-03 05:44:39 +08:00
|
|
|
mkdir -p build && cd build
|
|
|
|
|
2011-01-28 00:48:39 +08:00
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2012-11-21 02:37:09 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
2011-01-28 00:48:39 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-09-03 05:44:39 +08:00
|
|
|
cd build
|
2013-03-12 23:23:59 +08:00
|
|
|
|
2013-09-03 05:44:39 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2013-03-12 23:07:35 +08:00
|
|
|
}
|