clipman: initial commit, version 1.6.1
This commit is contained in:
parent
dff7f312a1
commit
33819e905e
3
clipman/.footprint
Normal file
3
clipman/.footprint
Normal 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/clipman
|
5
clipman/.signature
Normal file
5
clipman/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3wZ6SVyC9dXv4mLq+X4Lfl0su7zpwMQqFf5EITRmF4i+1ibLQam+V2bAr0/IBVAfqdOb8FBm4DUc9hHBwTOYbQQ=
|
||||
SHA256 (Pkgfile) = 85a15cf752ec25f3c64fb3028fc5b5c981d351be48beea6f37c8ffd22bff9652
|
||||
SHA256 (.footprint) = 9a48d7ada44cd2ead2a9f57594474cd54a01c6129faf9c75b97dd30e4a4f91ac
|
||||
SHA256 (clipman-1.6.1.tar.gz) = 9bfd69ed299f7641188e05668442f074fca3b01858ea8e680499ace7a36dd108
|
29
clipman/Pkgfile
Normal file
29
clipman/Pkgfile
Normal file
@ -0,0 +1,29 @@
|
||||
# Description: A simple clipboard manager for Wayland
|
||||
# URL: https://github.com/yory8/clipman
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: go startup-notification wl-clipboard-rs wlroots wofi
|
||||
|
||||
name=clipman
|
||||
version=1.6.1
|
||||
release=1
|
||||
source=(https://github.com/yory8/clipman/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
|
||||
mkdir "$PKGMK_SOURCE_DIR/gopath" || true
|
||||
export GOPATH="$PKGMK_SOURCE_DIR/gopath"
|
||||
|
||||
go build \
|
||||
-trimpath \
|
||||
-buildmode=pie \
|
||||
-mod=readonly \
|
||||
-modcacherw \
|
||||
-o $name .
|
||||
install -Dm755 $name $PKG/usr/bin/$name
|
||||
}
|
Loading…
Reference in New Issue
Block a user