blob: 5af718f900bc6c96fcf44b6295331274b16f7b2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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
}
|