mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 09:27:19 +02:00
37 lines
975 B
Text
37 lines
975 B
Text
# Maintainer:
|
|
pkgname=cliphist
|
|
pkgver=0.6.1
|
|
pkgrel=3
|
|
pkgdesc="wayland clipboard manager"
|
|
url="https://github.com/sentriz/cliphist"
|
|
arch="all"
|
|
license="GPL-3.0" # does not specify if -only
|
|
options="!check net" # no testsuite
|
|
depends="wl-clipboard"
|
|
makedepends="go"
|
|
subpackages="$pkgname-fzf::noarch"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/sentriz/cliphist/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
build() {
|
|
go build
|
|
}
|
|
|
|
package() {
|
|
install -D -m755 cliphist -t "$pkgdir"/usr/bin/
|
|
install -D -m755 contrib/cliphist-fzf -t "$pkgdir"/usr/bin/
|
|
}
|
|
|
|
fzf() {
|
|
pkgdesc="$pkgdesc with fzf picker"
|
|
depends="$pkgname=$pkgver-r$pkgrel fzf"
|
|
|
|
amove usr/bin/cliphist-fzf
|
|
}
|
|
|
|
sha512sums="
|
|
4925dabb66793c1eda37a41c0091b5859c6a3cc1e9b1d3b50497b8a8b13cf88f14468b46abe1e3acd6bc191951dc10a64fe4c982a5851d519e80c19a853d0919 cliphist-0.6.1.tar.gz
|
|
"
|