wl-clipboard: initial commit
This commit is contained in:
parent
7173b8c567
commit
bbab125d39
10
wl-clipboard/.footprint
Normal file
10
wl-clipboard/.footprint
Normal 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
28
wl-clipboard/Pkgfile
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user