diff options
author | Wachid Adi Nugroho | 2024-05-02 06:58:27 +0700 |
---|---|---|
committer | Wachid Adi Nugroho | 2024-05-02 06:58:27 +0700 |
commit | f32c331558d2c42ce276dbf0fe0f7a3474a6662b (patch) | |
tree | 1e2ccb36d93a6dfef6464483ed26bef101c4d206 | |
parent | f8234f715775df4c08c9eec50cadd56275c317a7 (diff) | |
download | aur-mauikit-accounts-git.tar.gz |
Bump version to 4.0.0.alpha.20240502-1:
- Update depends list
- Fix licenses
- Build with Qt6
- etc.
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 31 insertions, 16 deletions
@@ -1,6 +1,6 @@ pkgbase = mauikit-accounts-git pkgdesc = MauiKit utilities to handle User Accounts - pkgver = 2.1.2.r4.g9fa3cde + pkgver = 4.0.0.alpha.20240502 pkgrel = 1 url = https://invent.kde.org/maui/mauikit-accounts arch = x86_64 @@ -9,13 +9,16 @@ pkgbase = mauikit-accounts-git arch = armv6h arch = armv7h arch = aarch64 - license = GPL3 + groups = maui + license = BSD-2-Clause + license = custom:CC0 + license = LGPL makedepends = git makedepends = extra-cmake-modules - depends = mauikit-git - depends = ki18n - depends = kconfig + depends = qt6-base depends = kcoreaddons + depends = ki18n + depends = mauikit-git provides = mauikit-accounts conflicts = mauikit-accounts source = git+https://invent.kde.org/maui/mauikit-accounts.git @@ -1,32 +1,44 @@ -# Maintainer: Gustavo Castro < gustawho [ at ] gmail [ dot ] com > +# Maintainer: Wachid Adi Nugroho <wachidadinugroho.maya@gmail.com> +# Contributor: Gustavo Castro < gustawho [ at ] gmail [ dot ] com > -pkgname=mauikit-accounts-git -pkgver=2.1.2.r4.g9fa3cde +_pkgname=mauikit-accounts +pkgname=$_pkgname-git +pkgver=4.0.0.alpha.20240502 pkgrel=1 pkgdesc="MauiKit utilities to handle User Accounts" arch=(x86_64 i686 arm armv6h armv7h aarch64) url="https://invent.kde.org/maui/mauikit-accounts" -license=('GPL3') -depends=('mauikit-git' 'ki18n' 'kconfig' 'kcoreaddons') -makedepends=('git' 'extra-cmake-modules') -provides=('mauikit-accounts') -conflicts=('mauikit-accounts') -source=("git+${url}.git") +license=(BSD-2-Clause custom:CC0 LGPL) +groups=(maui) +depends=(qt6-base kcoreaddons ki18n mauikit-git) +makedepends=(git extra-cmake-modules) +provides=($_pkgname) +conflicts=($_pkgname) +source=(git+$url.git) sha256sums=('SKIP') pkgver() { - cd "${pkgname%-git}" + cd $_pkgname + if git tag | grep v4 + then ( set -o pipefail git describe --long --tags --first-parent --match 'v[0-9][0-9.][0-9.]*' | \ sed 's=^v==;s=^\([0-9][0-9.]*\)-\([a-zA-Z]\+\)=\1\2=;s=\([0-9]\+-g\)=r\1=;s=-=.=g' ) + else + echo "4.0.0.alpha.`date "+%Y%m%d"`" + fi } build() { - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -B build -S "${pkgname%-git}" + cmake -B build -S $_pkgname \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DBUILD_WITH_QT6=ON cmake --build build --config RelWithDebInfo } package() { DESTDIR="${pkgdir}" cmake --install build --config RelWithDebInfo + install -Dm644 $_pkgname/LICENSES/* -t "${pkgdir}"/usr/share/licenses/$_pkgname } |