diff options
author | xiota | 2023-09-20 16:46:19 -0700 |
---|---|---|
committer | xiota | 2023-09-20 16:46:19 -0700 |
commit | cae1676eadcfd0aac57de2f3e3f6fad7c883c2b2 (patch) | |
tree | ea0334cd57bf3ae8968a84c342f8cc5c64b3345a | |
parent | 7b65f1e40bc8131909300c46f9ddc4a51f576d93 (diff) | |
download | aur-telepathy-kde-accounts-kcm-git.tar.gz |
fixup
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 50 |
3 files changed, 44 insertions, 20 deletions
@@ -1,17 +1,17 @@ pkgbase = telepathy-kde-accounts-kcm-git pkgdesc = KCM Module for configuring Telepathy Instant Messaging Accounts - pkgver = v19.12.3.r13.gb5862da + pkgver = 19.12.3.r115.g33c2d38 pkgrel = 1 - url = http://community.kde.org/Real-Time_Communication_and_Collaboration + url = https://invent.kde.org/network/ktp-accounts-kcm arch = x86_64 license = GPL makedepends = extra-cmake-modules makedepends = intltool - depends = telepathy-qt depends = kaccounts-integration + depends = telepathy-qt + provides = telepathy-kde-accounts-kcm conflicts = telepathy-kde-accounts-kcm - source = git+https://invent.kde.org/network/ktp-accounts-kcm.git + source = ktp-accounts-kcm::git+https://invent.kde.org/network/ktp-accounts-kcm.git sha256sums = SKIP pkgname = telepathy-kde-accounts-kcm-git - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..018a3de08144 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!PKGBUILD +!.SRCINFO +!.gitignore @@ -1,28 +1,48 @@ -# Maintainer: Zanny <lordzanny@gmail.com> -# Maintainer: Martin Blumenstingl <martin.blumenstingl@googlemail.com> -# Author: Antonio Rojas <arojas@archlinux.org> +# Maintainer: +# Contributor: Zanny <lordzanny@gmail.com> +# Contributor: Martin Blumenstingl <martin.blumenstingl@googlemail.com> +# Contributor: Antonio Rojas <arojas@archlinux.org> -pkgname=telepathy-kde-accounts-kcm-git -_name=ktp-accounts-kcm -pkgver=v19.12.3.r13.gb5862da +_pkgname="telepathy-kde-accounts-kcm" +pkgname="$_pkgname-git" +_gitname="ktp-accounts-kcm" +pkgver=19.12.3.r115.g33c2d38 pkgrel=1 pkgdesc='KCM Module for configuring Telepathy Instant Messaging Accounts' arch=(x86_64) -url='http://community.kde.org/Real-Time_Communication_and_Collaboration' +url='https://invent.kde.org/network/ktp-accounts-kcm' +# url='https://community.kde.org/Real-Time_Communication_and_Collaboration' license=(GPL) -depends=(telepathy-qt kaccounts-integration) -makedepends=(extra-cmake-modules intltool) -conflicts=(telepathy-kde-accounts-kcm) -source=("git+https://invent.kde.org/network/$_name.git") -sha256sums=('SKIP') + +depends=( + kaccounts-integration + telepathy-qt +) +makedepends=( + extra-cmake-modules + intltool +) + +if [ x"$_pkgname" != x"$pkgname" ] ; then + provides=(telepathy-kde-accounts-kcm) + conflicts=(telepathy-kde-accounts-kcm) +fi + +_pkgsrc="$_gitname" +source=( + "$_gitname"::"git+https://invent.kde.org/network/ktp-accounts-kcm.git" +) +sha256sums=( + 'SKIP' +) pkgver() { - cd $_name - git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + cd "$srcdir/$_pkgsrc" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cmake -B build -S $_name + cmake -B build -S "$_pkgsrc" cmake --build build } |