diff options
author | Brian Bidulock | 2015-06-10 05:07:54 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-06-10 05:07:54 -0600 |
commit | 79cbc22d7f5ce72a690e8f570b568f0ebbc8641f (patch) | |
tree | 9812de5093e141a9293d951c14f2672747ccfb80 | |
download | aur-79cbc22d7f5ce72a690e8f570b568f0ebbc8641f.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 41 | ||||
-rw-r--r-- | bbkeys.changelog | 22 | ||||
-rw-r--r-- | bbkeys.desktop | 14 | ||||
-rw-r--r-- | bbkeys.patch | 33 |
5 files changed, 132 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3902f02c9194 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = bbkeys + pkgdesc = Blackbox tool for setting keyboard shortcuts for manipulating windows and virtual desktop + pkgver = 0.9.1 + pkgrel = 8 + url = http://bbkeys.sourceforge.net/ + changelog = bbkeys.changelog + arch = i686 + arch = x86_64 + groups = blackbox + license = custom + makedepends = blackbox + depends = libxext + depends = libxft + source = http://downloads.sourceforge.net/sourceforge/bbkeys/bbkeys-0.9.1.tar.gz + source = bbkeys.desktop + source = bbkeys.patch + md5sums = 6bb7fdf50b7c2df4f9a12f4e16d76f66 + md5sums = ff91c4fec02f829820b369d5a0a4d000 + md5sums = c78d64536560a0e325f60544ac016019 + +pkgname = bbkeys + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9995a876bca9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Brian Bidulock <bidulock@openss7.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Contributor: andrewy <andrew@andrewyates.net> +# +pkgname=bbkeys +pkgver=0.9.1 +pkgrel=8 +pkgdesc="Blackbox tool for setting keyboard shortcuts for manipulating windows and virtual desktop" +arch=('i686' 'x86_64') +url="http://bbkeys.sourceforge.net/" +license=('custom') +groups=('blackbox') +depends=('libxext' 'libxft') +makedepends=('blackbox') +changelog="bbkeys.changelog" +source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" + "bbkeys.desktop" + "bbkeys.patch") +md5sums=('6bb7fdf50b7c2df4f9a12f4e16d76f66' + 'ff91c4fec02f829820b369d5a0a4d000' + 'c78d64536560a0e325f60544ac016019') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np2 -b -z .orig <"$srcdir/bbkeys.patch" + autoreconf -fiv + ./configure --prefix=/usr || return 1 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install || return 1 + + install -m644 -D "$srcdir/bbkeys-$pkgver/LICENSE" \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -m644 -D "$srcdir/bbkeys.desktop" \ + "$pkgdir/usr/share/applications/bbkeys.desktop" + install -m644 -D "$srcdir/bbkeys.desktop" \ + "$pkgdir/etc/xdg/autostart/bbkeys.desktop" +} diff --git a/bbkeys.changelog b/bbkeys.changelog new file mode 100644 index 000000000000..f7292a5fe714 --- /dev/null +++ b/bbkeys.changelog @@ -0,0 +1,22 @@ +2013-04-21 Brian Bidulock <bidulock@openss7.org> + + * bbkeys 0.9.1-5 : + corrections to .desktop file + +2013-04-11 Brian Bidulock <bidulock@openss7.org> + + * bbkeys 0.9.1-3 : + fix installation of .desktop file + +2013-04-11 Brian Bidulock <bidulock@openss7.org> + + * 0.9.1-3 : + added changelog + + * bbkeys.desktop : + added XDG desktop file + + * bbkeys.changelog : + added changlog + +# vim: ft=changelog diff --git a/bbkeys.desktop b/bbkeys.desktop new file mode 100644 index 000000000000..8d20ab6a4442 --- /dev/null +++ b/bbkeys.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=BlackBox Hot Keys +GenericName=bbkeys +Comment=Start keystroke detection for BlackBox +Icon=keyboard +OnlyShowIn=BLACKBOX;ICEWM; +Exec=bbkeys +TryExec=/usr/bin/bbkeys +Terminal=false +Categories=BLACKBOX;System;Utility; +StartupNotify=false +NoDisplay=true diff --git a/bbkeys.patch b/bbkeys.patch new file mode 100644 index 000000000000..fe0b895f63dd --- /dev/null +++ b/bbkeys.patch @@ -0,0 +1,33 @@ +diff -up src/bbkeys-0.9.1/configure.ac.orig src/bbkeys-0.9.1/configure.ac +--- src/bbkeys-0.9.1/configure.ac.orig 2008-12-21 20:05:55.000000000 -0700 ++++ src/bbkeys-0.9.1/configure.ac 2013-09-02 11:00:54.000000000 -0600 +@@ -1,6 +1,7 @@ + dnl Process this file with autoconf to produce a configure script. +-AC_INIT(src/main.cpp) +-AM_INIT_AUTOMAKE(bbkeys, 0.9.1) ++AC_INIT(bbkeys, 0.9.1) ++AC_CONFIG_SRCDIR(src/main.cpp) ++AM_INIT_AUTOMAKE + AM_MAINTAINER_MODE + AC_PREFIX_DEFAULT(/usr/local) + +@@ -129,13 +130,16 @@ dnl Checks for Xextension + AC_CHECK_LIB(Xext, XMissingExtension, LIBS="$LIBS -lXext", + AC_MSG_ERROR(XMissingExtension not found in -lXext)) + ++m4_include([/usr/share/aclocal/pkg.m4]) ++ + dnl pkgconfig checks for blackbox library + PKG_CHECK_MODULES(LIBBT, libbt) +-CXXFLAGS="$CXXFLAGS $LIBBT_CFLAGS" +-LIBS="$LIBS $LIBBT_LIBS" ++PKG_CHECK_MODULES(XFT, xft) ++CXXFLAGS="$CXXFLAGS $LIBBT_CFLAGS $XFT_CFLAGS" ++LIBS="$LIBS $LIBBT_LIBS $XFT_LIBS" + + dnl generate the config header +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + + dnl Output files + AC_OUTPUT( \ |