diff options
author | zan | 2020-07-01 13:46:46 -0400 |
---|---|---|
committer | zan | 2020-07-01 13:46:46 -0400 |
commit | 3b786bf3aa472ca132ee89358af00a2b427bc7b2 (patch) | |
tree | c2bcc3fcaf3a70db9b6d8263be3f04aeef953435 /PKGBUILD | |
parent | 0e0cdf57869c8d181bdec93e99af75533557b711 (diff) | |
download | aur-3b786bf3aa472ca132ee89358af00a2b427bc7b2.tar.gz |
invent.kde migration
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 13 insertions, 23 deletions
@@ -2,42 +2,32 @@ # Maintainer: Martin Blumenstingl <martin.blumenstingl@googlemail.com> # Author: Antonio Rojas <arojas@archlinux.org> -_gitname=kaccounts-providers pkgname=kaccounts-providers-git -pkgver=v15.12.0.r10.gd7f438c +_name=kaccounts-providers +pkgver=v19.12.1.r40.ga530020 pkgrel=1 pkgdesc='Small system to administer web accounts for the sites and services across the KDE desktop, including: Google, Facebook, Owncloud, IMAP, Jabber and others' -arch=(i686 x86_64) +arch=(x86_64) url='https://projects.kde.org/projects/playground/base/kde-accounts/kaccounts-providers' -license=('GPL') -depends=('kaccounts-integration') -makedepends=('extra-cmake-modules' 'git' 'intltool') -provides=('kaccounts-providers') -conflicts=('kaccounts-providers') -install=$pkgname.install -source=("git://anongit.kde.org/$_gitname") +license=(GPL) +depends=(kaccounts-integration) +makedepends=(extra-cmake-modules git intltool) +provides=(kaccounts-providers) +conflicts=(kaccounts-providers) +source=("git+https://invent.kde.org/network/$_name.git") sha256sums=('SKIP') pkgver() { - cd "$srcdir/$_gitname" + cd $_name git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } -prepare() { - mkdir -p build -} - build() { - cd build - cmake ../$_gitname \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DLIB_INSTALL_DIR=lib - make + cmake -B build -S $_name + cmake --build build } package() { - cd build - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" cmake --install build } |