diff --git a/core/sxhkd/.checksums b/core/sxhkd/.checksums new file mode 100644 index 000000000..0ca78e41a --- /dev/null +++ b/core/sxhkd/.checksums @@ -0,0 +1 @@ +5eb6077039e5d929f0ceead5f6bfb9b7 sxhkd-0.6.1.tar.gz diff --git a/core/sxhkd/.pkgfiles b/core/sxhkd/.pkgfiles new file mode 100644 index 000000000..4c005407e --- /dev/null +++ b/core/sxhkd/.pkgfiles @@ -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 diff --git a/core/sxhkd/spkgbuild b/core/sxhkd/spkgbuild new file mode 100644 index 000000000..c75383a79 --- /dev/null +++ b/core/sxhkd/spkgbuild @@ -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 +}