desktop/choqok/PKGBUILD

38 lines
976 B
Bash
Raw Normal View History

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')
optdepends=('kde-baseapps-konqueror: proxy support')
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-09-03 05:44:39 +08:00
make DESTDIR="${pkgdir}" install
}