# Contributor: Galen Abell # Maintainer: Galen Abell pkgname=clipman pkgver=1.6.2 pkgrel=3 pkgdesc="A simple clipboard manager for Wayland" url="https://github.com/yory8/clipman" arch="all" license="GPL-3.0-only" depends="wl-clipboard" makedepends="go" options="!check" # no tests subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/yory8/clipman/archive/v$pkgver.tar.gz" export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { go build -o $pkgname } package() { install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname install -Dm644 docs/clipman.1 -t "$pkgdir"/usr/share/man/man1 } sha512sums=" 3549fdba47973440f6a3969560d5f5688661f11e1c38026170722182dce83ec1870f9e1652e84198e8be9fc454de1e73dfc1247d50692a32b6e8a25ec149c41b clipman-1.6.2.tar.gz "