desktop/kdenetwork-strigi-analyzers/PKGBUILD
2015-12-06 13:33:31 +00:00

31 lines
787 B
Bash

# Include global configuration
source ../kdeapps.conf
pkgname=kdenetwork-strigi-analyzers
pkgver=${_kdever}
pkgrel=1
pkgdesc='Strigi analyzers for various network protocols'
url='https://projects.kde.org/projects/kde/kdenetwork/kdenetwork-strigi-analyzers'
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde-runtime' 'kdenetwork')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4' 'boost')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
build() {
mkdir -p build
cd build
cmake ../kdenetwork-strigi-analyzers-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR=$pkgdir install
}