diff options
author | GoliathLabs | 2020-05-28 19:25:30 +0200 |
---|---|---|
committer | GoliathLabs | 2020-05-28 19:25:30 +0200 |
commit | 33e8329acf1600f2ab122b057e07fe354f0f08ab (patch) | |
tree | 67d50764ac34a44c8e356e4d72cad02e5af1f3cf | |
parent | bdcedb33203365c6c473e02993ce56518f1bd069 (diff) | |
download | aur-33e8329acf1600f2ab122b057e07fe354f0f08ab.tar.gz |
Updated: PKGBUILD
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 27 insertions, 28 deletions
@@ -2,20 +2,18 @@ pkgbase = kcalutils-git pkgdesc = The KDE calendar utility library pkgver = r276.fba760a pkgrel = 1 - url = https://projects.kde.org/projects/kde/pim/kcalutils + url = https://kontact.kde.org arch = i686 arch = x86_64 license = LGPL - makedepends = extra-cmake-modules-git + makedepends = extra-cmake-modules makedepends = git - makedepends = python - makedepends = boost - depends = kcalcore-git - depends = kidentitymanagement-git + depends = kcalendarcore + depends = kidentitymanagement provides = kcalutils conflicts = kcalutils - source = git://anongit.kde.org/kcalutils.git - md5sums = SKIP + source = git+https://github.com/KDE/kcalutils.git + sha256sums = SKIP pkgname = kcalutils-git @@ -1,40 +1,41 @@ -# Maintainer: Antonio Rojas <arojas@archlinux.org> +# Maintainer: +# Contributor: Felix Golatofski <contact@xdfr.de> +# Contributor: Antonio Rojas <arojas@archlinux.org> -_gitname=kcalutils -pkgname=$_gitname-git +_pkgname=kcalutils +pkgname=$_pkgname-git pkgver=r276.fba760a pkgrel=1 pkgdesc="The KDE calendar utility library" -arch=('i686' 'x86_64') -url="https://projects.kde.org/projects/kde/pim/$_gitname" -license=('LGPL') -depends=('kcalcore-git' 'kidentitymanagement-git') -makedepends=('extra-cmake-modules-git' 'git' 'python' 'boost') -conflicts=("$_gitname") -provides=("$_gitname") -source=("git://anongit.kde.org/$_gitname.git") -md5sums=('SKIP') +arch=(i686 x86_64) +url="https://kontact.kde.org" +license=(LGPL) +depends=(kcalendarcore kidentitymanagement) +makedepends=(extra-cmake-modules git) +conflicts=("$_pkgname") +provides=("$_pkgname") +source=("git+https://github.com/KDE/$_pkgname.git") +sha256sums=('SKIP') pkgver() { - cd $_gitname + cd $srcdir/$_pkgname printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { + cd $srcdir/$_pkgname mkdir -p build } build() { - cd build - cmake ../$_gitname \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + cd $srcdir/$_pkgname/build + cmake ../ \ + -DBUILD_TESTING=OFF make } package() { - cd build + cd $srcdir/$_pkgname/build make DESTDIR="$pkgdir" install + install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" } |