diff options
author | root <root@rshg054.dnsready.net> | 2012-08-03 00:01:47 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-03 00:01:47 +0000 |
commit | 92bafb5f0efc526b1f83cd5fb9460443c4b13dca (patch) | |
tree | a762a2b1551bff9d77cf7a44a75f915fb074c1a2 /testing/nepomuk-core | |
parent | f003ac1c96d76f4e3a2b93f988e1effce6771052 (diff) |
Fri Aug 3 00:01:47 UTC 2012
Diffstat (limited to 'testing/nepomuk-core')
-rw-r--r-- | testing/nepomuk-core/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/nepomuk-core/PKGBUILD b/testing/nepomuk-core/PKGBUILD new file mode 100644 index 000000000..3ea876e1a --- /dev/null +++ b/testing/nepomuk-core/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 164525 2012-08-01 14:34:52Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=nepomuk-core +pkgver=4.9.0 +pkgrel=1 +pkgdesc="Contains the central Nepomuk services like file indexing, file system monitoring, query, storage, client libraries" +url="https://projects.kde.org/projects/kde/kdelibs/nepomuk-core" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +depends=('kdelibs') +makedepends=('cmake' 'automoc4' 'doxygen') +source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz") +sha1sums=('55dc228d5155220052c4a5d38984092a90a9cae7') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install + + # Fix the python shebang + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \ + "${pkgdir}"/usr/bin/nepomuk-simpleresource-rcgen +} |