wl-clipboard: initial commit

This commit is contained in:
John McQuah 2023-02-17 15:02:16 -05:00
parent 7173b8c567
commit bbab125d39
2 changed files with 38 additions and 0 deletions

10
wl-clipboard/.footprint Normal file
View File

@ -0,0 +1,10 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/wl-copy
-rwxr-xr-x root/root usr/bin/wl-paste
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/wl-clipboard.1.gz
-rw-r--r-- root/root usr/share/man/man1/wl-copy.1.gz
-rw-r--r-- root/root usr/share/man/man1/wl-paste.1.gz

28
wl-clipboard/Pkgfile Normal file
View File

@ -0,0 +1,28 @@
# Description: copy/paste utilities for wayland
# URL: https://github.com/bugaevc/wl-clipboard
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: wayland
# Optional: wayland-protocols
name=wl-clipboard
version=2.1.0
release=1
source=(https://github.com/bugaevc/$name/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
PKGMK_WLCLIP="--prefix=/usr \
--buildtype=release \
-Db_lto=true \
-Db_pie=true"
prt-get isinst zsh || PKGMK_WLCLIP+=" -Dzshcompletiondir=no"
prt-get isinst fish || PKGMK_WLCLIP+=" -Dfishcompletiondir=no"
meson setup build $PKGMK_WLCLIP
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
prt-get isinst bash-completion || rm -r $PKG/usr/share/bash-completion
}