diff options
author | Brian Bidulock | 2015-07-08 22:13:31 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-07-08 22:13:31 -0600 |
commit | 28d2ae3ff1df215b962647d2067fe13fbcc75220 (patch) | |
tree | 90c472c7c27eb45326bacc5faa44451a27cfd99a | |
download | aur-28d2ae3ff1df215b962647d2067fe13fbcc75220.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 41 | ||||
-rw-r--r-- | bbdock.patch | 12 |
3 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f6dc13481e67 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = bbdock-git + pkgdesc = An application launcher dockapp supporting PNG files and transparency + pkgver = 07fcb34 + pkgrel = 2 + url = https://github.com/markusfisch/bbdock + arch = i686 + arch = x86_64 + license = LGPL3 + makedepends = libxt + makedepends = git + depends = libx11 + depends = libpng + provides = bbdock + conflicts = bbdock + source = git://github.com/markusfisch/bbdock.git + source = bbdock.patch + md5sums = SKIP + md5sums = 5568359bb94d3bf6c8777b75e255fa3f + +pkgname = bbdock-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9785d7063706 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Brian Bidulock <bidulock@openss7.org + +pkgname=bbdock-git +_pkgname=bbdock +pkgver=07fcb34 +pkgrel=2 +pkgdesc="An application launcher dockapp supporting PNG files and transparency" +arch=('i686' 'x86_64') +url="https://github.com/markusfisch/$_pkgname" +license=('LGPL3') +depends=('libx11' 'libpng') +makedepends=('libxt' 'git') +provides=($_pkgname) +conflicts=($_pkgname) +source=("git://github.com/markusfisch/$_pkgname.git" + "$_pkgname.patch") +md5sums=('SKIP' + '5568359bb94d3bf6c8777b75e255fa3f') + +pkgver () { + cd $_pkgname + git describe --always | sed 's|-|.|g' +} + +prepare () { + cd $_pkgname + patch -Np2 -b -z .orig <../$_pkgname.patch +} + +build() { + cd $_pkgname + ./configure --prefix=/usr + make clean + make +} + +package() { + cd $_pkgname + make DESTDIR="$pkgdir" install + install -Dm655 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +} diff --git a/bbdock.patch b/bbdock.patch new file mode 100644 index 000000000000..e4b4b78b3cff --- /dev/null +++ b/bbdock.patch @@ -0,0 +1,12 @@ +diff -up src/bbdock/src/Dock.cc.orig src/bbdock/src/Dock.cc +--- src/bbdock/src/Dock.cc.orig 2015-07-08 22:10:06.000000000 -0600 ++++ src/bbdock/src/Dock.cc 2015-07-08 22:10:47.000000000 -0600 +@@ -31,6 +31,8 @@ + #include <stdlib.h> + #include <stdio.h> + #include <unistd.h> ++#include <strings.h> ++#include <string.h> + #include <iostream> + #include <string> + |