diff options
Diffstat (limited to 'extra/knotifications/PKGBUILD')
-rw-r--r-- | extra/knotifications/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/knotifications/PKGBUILD b/extra/knotifications/PKGBUILD new file mode 100644 index 000000000..b7401f0b3 --- /dev/null +++ b/extra/knotifications/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 212948 2014-05-16 22:31:45Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=knotifications +pkgver=4.99.0 +pkgrel=1 +pkgdesc='KNotifications' +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/frameworks/knotifications' +license=('LGPL') +depends=('phonon-qt5' 'libdbusmenu-qt5' 'kservice' 'kiconthemes') +makedepends=('extra-cmake-modules' 'qt5-tools') +groups=('kf5') +source=("http://download.kde.org/unstable/frameworks/${pkgver}/${pkgname}-${pkgver}.tar.xz") +md5sums=('2199596880bdf507c1cce81c9e0c24e3') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_INSTALL_DIR=lib \ + -DECM_MKSPECS_INSTALL_DIR=/usr/share/qt/mkspecs/modules \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} |