diff options
author | gustawho | 2022-07-01 23:56:20 -0600 |
---|---|---|
committer | gustawho | 2022-07-01 23:56:20 -0600 |
commit | a198fde53190598e198d9b92a349b95f619bbccc (patch) | |
tree | 1276dbc401bdc177e64593c7144a050f22406e18 /PKGBUILD | |
parent | 9e8f2cec58801b7f45adce16ce54983b86667fb1 (diff) | |
download | aur-koko-git.tar.gz |
PKGBUILD format
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,13 +1,13 @@ # Maintainer Gustavo Castro < gustawho [ at ] gmail [ dot ] com > pkgname=koko-git -pkgver=v21.05.r8.g3f9411a -pkgrel=2 +pkgver=22.06.r4.g1d16adc +pkgrel=1 arch=(x86_64 i686 arm armv6h armv7h aarch64) pkgdesc="Image gallery application designed for desktop and touch devices" url="https://invent.kde.org/graphics/koko" license=('LGPL2.1') -depends=('kirigami2' 'kcoreaddons' 'kguiaddons' 'kconfig' 'knotifications' 'kquickimageeditor' +depends=('kirigami2' 'kcoreaddons' 'kguiaddons' 'kconfig' 'knotifications' 'kquickimageeditor-git' 'exiv2' 'kdeclarative' 'kfilemetadata' 'ki18n' 'kio' 'kdbusaddons' 'qt5-location') makedepends=('extra-cmake-modules' 'qt5-svg' 'qt5-tools') source=("git+${url}.git") @@ -16,8 +16,8 @@ md5sums=('SKIP') pkgver() { cd "${pkgname%-git}" ( set -o pipefail - git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + 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' ) } @@ -28,4 +28,4 @@ build() { package() { DESTDIR="${pkgdir}" cmake --install build --config RelWithDebInfo -}
\ No newline at end of file +} |