New package: bbkeys-0.9.2

This commit is contained in:
Andrew Benson 2021-02-23 16:57:08 -06:00 committed by Andrew Benson
parent 4c7605efd4
commit c363ef19f0
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,37 @@
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -108,7 +108,6 @@
Netclient.$(OBJEXT) ScreenHandler.$(OBJEXT) window.$(OBJEXT) \
WindowlistMenu.$(OBJEXT)
bbkeys_OBJECTS = $(am_bbkeys_OBJECTS)
-bbkeys_DEPENDENCIES = /usr/lib/libbt.a
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
@@ -350,7 +349,7 @@
WindowlistMenu.cpp \
WindowlistMenu.h
-bbkeys_LDADD = /usr/lib/libbt.a
+bbkeys_LDADD = -lbt
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = bbkeys
all: all-am
@@ -444,7 +443,7 @@
done; \
done; rm -f c$${pid}_.???; exit $$bad
-bbkeys$(EXEEXT): $(bbkeys_OBJECTS) $(bbkeys_DEPENDENCIES) $(EXTRA_bbkeys_DEPENDENCIES)
+bbkeys$(EXEEXT): $(bbkeys_OBJECTS) $(EXTRA_bbkeys_DEPENDENCIES)
@rm -f bbkeys$(EXEEXT)
$(AM_V_CXXLD)$(CXXLINK) $(bbkeys_OBJECTS) $(bbkeys_LDADD) $(LIBS)
--- src/Makefile.am.orig
+++ src/Makefile.am
@@ -31,6 +31,5 @@
window.hh \
WindowlistMenu.cpp \
WindowlistMenu.h
-bbkeys_LDADD = /usr/lib/libbt.a
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = bbkeys

17
srcpkgs/bbkeys/template Normal file
View file

@ -0,0 +1,17 @@
# Template file for 'bbkeys'
pkgname=bbkeys
version=0.9.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config perl"
makedepends="blackboxwm-devel libX11-devel libXext-devel libXft-devel"
short_desc="Blackbox tool for setting keyboard shortcuts"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/bbidulock/bbkeys"
distfiles="${homepage}/releases/download/rel-${version//.}/bbkeys-${version}.tar.lz"
checksum=ece0113b2cc6367e2cad95f59cf43d7576b5a1a7eb8a9e3f10ce9814db67b95c
post_install() {
vlicense COPYING
}