desktop/kdesdk-strigi-analyzers/PKGBUILD

33 lines
876 B
Bash

# Include global configuration
source ../kdeapps.conf
pkgname="kdesdk-strigi-analyzers"
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
pkgdesc='Strigi analyzers for the KDE SDK'
depends=("kdelibs>=${_libsver}")
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' 'debug')
makedepends=('pkg-config' 'cmake' 'automoc4')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cmake . \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}