33 lines
812 B
Text
33 lines
812 B
Text
# Contributor: Mubashir Haroon <mubashirmusab at gmail dot com>
|
|
# Contributor: Husam Bilal <me@husam.dev>
|
|
|
|
pkgname=clipman-git
|
|
pkgver=1.6.4.r1.g0e1d363
|
|
pkgrel=1
|
|
pkgdesc="A simple clipboard manager for Wayland"
|
|
url="https://github.com/chmouel/clipman"
|
|
depends=("wl-clipboard>=2.0")
|
|
makedepends=("go" "git")
|
|
provides=("clipman")
|
|
conflicts=("clipman")
|
|
license=("GPL-3.0-only")
|
|
arch=("x86_64" "i686")
|
|
md5sums=("SKIP")
|
|
source=("${pkgname}::git+https://github.com/chmouel/clipman.git")
|
|
|
|
pkgver() {
|
|
cd "$pkgname"
|
|
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
go build .
|
|
}
|
|
|
|
package() {
|
|
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
|
|
}
|