desktop/kdesdk-strigi-analyzers/PKGBUILD

33 lines
892 B
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
# Include global configuration
source ../kdeapps.conf
2013-06-22 04:22:14 +08:00
pkgname="kdesdk-strigi-analyzers"
arch=('x86_64')
pkgver=${_kdever}
2014-02-01 19:24:18 +08:00
pkgrel=1
pkgdesc='Strigi analyzers for the KDE SDK'
2015-02-20 06:29:49 +08:00
depends=("kdelibs>=${_libsver}")
2013-06-22 04:22:14 +08:00
provides=('kdesdk-strigi-analyzer')
replaces=('kdesdk-strigi-analyzer')
conflicts=('kdesdk-common' 'kdesdk-strigi-analyzer')
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
options=('docs' '!header' 'debug' 'log')
2013-06-22 04:22:14 +08:00
makedepends=('pkg-config' 'cmake' 'automoc4')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
2014-01-11 20:59:04 +08:00
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
2013-06-22 04:22:14 +08:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cmake . \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON
make
2013-06-22 04:22:14 +08:00
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
2013-06-22 04:22:14 +08:00
}