core/sxhkd: new port

This commit is contained in:
emmett1
2020-07-28 18:21:11 +08:00
parent e6f0e01c30
commit 52a1ec9dbd
3 changed files with 25 additions and 0 deletions

1
core/sxhkd/.checksums Normal file
View File

@@ -0,0 +1 @@
5eb6077039e5d929f0ceead5f6bfb9b7 sxhkd-0.6.1.tar.gz

7
core/sxhkd/.pkgfiles Normal file
View File

@@ -0,0 +1,7 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/sxhkd
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-rw-r-- root/root usr/share/man/man1/sxhkd.1.gz

17
core/sxhkd/spkgbuild Normal file
View File

@@ -0,0 +1,17 @@
# description : X daemon that reacts to input events by executing commands
# depends : libxcb xcb-util-keysyms
name=sxhkd
version=0.6.1
release=1
source="https://github.com/baskerville/sxhkd/archive/$version/$name-$version.tar.gz"
build() {
cd $name-$version
# https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
CFLAGS="$CFLAGS -fcommon"
make PREFIX=/usr
make PREFIX=/usr DESTDIR=$PKG install
}