Package Details: klog-time-tracker-bin 6.4-1

Git Clone URL: https://aur.archlinux.org/klog-time-tracker-bin.git (read-only, click to copy)
Package Base: klog-time-tracker-bin
Description: A plain-text file format and a command line tool for time tracking.
Upstream URL: https://github.com/jotaen/klog
Licenses: MIT
Conflicts: klog, klog-time-tracker
Provides: klog-time-tracker
Submitter: kirasok
Maintainer: kirasok
Last Packager: kirasok
Votes: 1
Popularity: 0.000055
First Submitted: 2023-06-16 13:11 (UTC)
Last Updated: 2024-08-17 22:43 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

alerque commented on 2024-01-18 13:46 (UTC)

I've put together a source build for this package at klog-time-tracker. Would you mind applying this change to sort out conflicts and provides properly? Note I've removed klog-bin per Arch packaging guidelines. That package also conflicts with klog and so the conflicts will automatically be resolved for this package to. The guidelines say only to include the relevant base package name, not VCS/bin/other variants.

You can do this manually or apply this patch with git am < file.patch (include the tailing blank in the patch file):

From 3846ce4a7051796fd66aaba44e002c5088ccbf99 Mon Sep 17 00:00:00 2001
From: Caleb Maclennan <caleb@alerque.com>
Date: Thu, 18 Jan 2024 16:44:49 +0300
Subject: [PATCH] Sort out relation to source-based package

Signed-off-by: Caleb Maclennan <caleb@alerque.com>
---
 .SRCINFO | 5 +++--
 PKGBUILD | 6 ++++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index c046803..b16e85c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
 pkgbase = klog-time-tracker-bin
    pkgdesc = A plain-text file format and a command line tool for time tracking.
    pkgver = 6.2
-   pkgrel = 1
+   pkgrel = 2
    url = https://github.com/jotaen/klog
    arch = x86_64
    license = MIT
    depends = glibc>=2.37-3
-   conflicts = klog-bin
+   provides = klog-time-tracker=6.2
    conflicts = klog
+   conflicts = klog-time-tracker
    source = klog-time-tracker-bin-6.2.zip::https://github.com/jotaen/klog/releases/download/v6.2/klog-linux.zip
    sha256sums = 7434d603d785c29cd170ff6c9c9f38bf9e3cb1b7811faeb38223213cf1c9ffca

diff --git a/PKGBUILD b/PKGBUILD
index 80cec6a..978b49b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,16 @@
 # Maintainer: Kira Sokolova <Kyra256@proton.me>
+# Contributor: Caleb Maclennan <caleb@alerque.com>

 pkgname=klog-time-tracker-bin
 pkgver=6.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A plain-text file format and a command line tool for time tracking."
 arch=("x86_64")
 url="https://github.com/jotaen/klog"
 license=('MIT')
 depends=('glibc>=2.37-3')
-conflicts=('klog-bin' 'klog')
+provides=("${pkgname%-bin}=$pkgver")
+conflicts=('klog' "${pkgname%-bin}")
 source=($pkgname-$pkgver.zip::https://github.com/jotaen/klog/releases/download/v$pkgver/klog-linux.zip)
 sha256sums=('7434d603d785c29cd170ff6c9c9f38bf9e3cb1b7811faeb38223213cf1c9ffca')

-- 
2.43.0