Package Details: clipman-git 1.6.1.r0.g52602f2-1

Git Clone URL: https://aur.archlinux.org/clipman-git.git (read-only, click to copy)
Package Base: clipman-git
Description: A simple clipboard manager for Wayland
Upstream URL: https://github.com/yory8/clipman
Licenses: GPL3
Conflicts: clipman
Provides: clipman
Submitter: None
Maintainer: None
Last Packager: None
Votes: 0
Popularity: 0.000000
First Submitted: 2021-04-17 06:25 (UTC)
Last Updated: 2022-07-15 05:40 (UTC)

Dependencies (3)

Required by (2)

Sources (1)

Latest Comments

<deleted-account> commented on 2023-12-20 02:33 (UTC)

Hi, unfortunately I am busy now a days so I am disowning the package, feel free to pick it up :)

shulhan commented on 2023-12-19 18:28 (UTC)

@mubashir Seems like the github repository has been removed.

The clipman package move to https://github.com/chmouel/clipman 1

<deleted-account> commented on 2022-07-15 05:41 (UTC)

Thank you for the patch

shulhan commented on 2022-07-13 16:38 (UTC) (edited on 2022-07-13 16:42 (UTC) by shulhan)

Hi @mubashir,

The following patch resolve pkgver always to resolve to v1.4.0-xxx instead of latest un-annotated tags.

diff --git a/PKGBUILD b/PKGBUILD
index 62e68a6..8cd69e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,9 @@
 # Maintainer: Mubashir Haroon <mubashirmusab at gmail dot com>
 # Contributor: Husam Bilal <me@husam.dev>

-_pkgname=clipman
 pkgname=clipman-git
-pkgver=1.4.0.r22.g505d7e4
-pkgrel=2
+pkgver=1.6.1.r0.g52602f2
+pkgrel=1
 pkgdesc="A simple clipboard manager for Wayland"
 url="https://github.com/yory8/clipman"
 depends=("wl-clipboard>=2.0")
@@ -14,21 +13,21 @@ conflicts=("clipman")
 license=("GPL3")
 arch=("x86_64" "i686")
 md5sums=("SKIP")
-source=("${_pkgname}::git+https://github.com/yory8/${_pkgname}.git")
+source=("${pkgname}::git+https://github.com/yory8/clipman.git")

 pkgver() {
-  cd "$_pkgname"
-  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+  cd "$pkgname"
+  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }

 build() {
-  cd $_pkgname
+  cd $pkgname
   go build .
 }

 package() {
-  cd $_pkgname
-  install -Dm755 $_pkgname $pkgdir/usr/bin/$_pkgname
-  install -Dm644 docs/$_pkgname.1 $pkgdir/usr/share/man/man1/$_pkgname.1
-  gzip $pkgdir/usr/share/man/man1/$_pkgname.1
+  cd $pkgname
+  install -Dm755 clipman $pkgdir/usr/bin/clipman
+  install -Dm644 docs/clipman.1 $pkgdir/usr/share/man/man1/clipman.1
+  gzip $pkgdir/usr/share/man/man1/clipman.1
 }

PS: Thanks for the this package, for anyone else the prebuild package available at https://build.kilabit.info .