cliphist: initial commit, version 0.4.0

This commit is contained in:
Tim Biermann 2023-09-24 10:04:07 +02:00
parent 96195119c5
commit 28b402dde4
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 33 additions and 0 deletions

3
cliphist/.footprint Normal file
View File

@ -0,0 +1,3 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/cliphist

5
cliphist/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF39JHhbho4xFkxjL0S/NuaPQplfESk+S2lzYMrdzjx0Qfbpl0luQ/eAV96ROYO6KVxr7RbQKqap7cCAu/x4NLRg4=
SHA256 (Pkgfile) = ace779110ef8ed1cc9498472b4dc4e6a965cede3093676057903a517f90ed2f3
SHA256 (.footprint) = 53e202ae9f3dbf0c84b28dbfc05fab95d326f5185cf17a236134832d6cf2d2d7
SHA256 (cliphist-0.4.0.tar.gz) = e492d6cd4e1bfc77582e32e25a3683687f2ff22e8d390cd06e14d21d7bef32c2

25
cliphist/Pkgfile Normal file
View File

@ -0,0 +1,25 @@
# Description: wayland clipboard manager
# URL: https://github.com/sentriz/cliphist
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: wl-clipboard go
# Optional: xdg-utils
name=cliphist
version=0.4.0
release=1
source=(https://github.com/sentriz/cliphist/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
export CGO_CPPFLAGS="$CPPFLAGS"
export CGO_CFLAGS="$CFLAGS"
export CGO_CXXFLAGS="$CXXFLAGS"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
go build \
-ldflags "-linkmode external -extldflags '$LDFLAGS'" \
-o $name
install -Dm0755 -t $PKG/usr/bin/ $name
}