diff options
author | Brian Bidulock | 2018-02-19 01:52:06 -0700 |
---|---|---|
committer | Brian Bidulock | 2018-02-19 01:52:06 -0700 |
commit | 49ebdd0a3f533308a5c0ab18923917cdeb5c5d32 (patch) | |
tree | 13f7f1e5e7e89c7776374b1a2660039990948958 | |
parent | 2fc06ee8b61c4dc6b0ba468f8007f9cb2a54453f (diff) | |
download | aur-49ebdd0a3f533308a5c0ab18923917cdeb5c5d32.tar.gz |
builds again
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 21 | ||||
-rw-r--r-- | list.patch | 15 |
3 files changed, 33 insertions, 8 deletions
@@ -1,13 +1,16 @@ pkgbase = bbrun pkgdesc = A run - component for blackbox window manager pkgver = 1.6 - pkgrel = 5 + pkgrel = 6 url = https://packages.debian.org/unstable/x11/bbrun arch = x86_64 + arch = i686 license = GPL depends = gtk2 depends = libxpm + source = list.patch source = http://ftp.de.debian.org/debian/pool/main/b/bbrun/bbrun_1.6.orig.tar.gz + md5sums = 721d65fc76d1985133d2dcfaf604d7b3 md5sums = 820960e3d52ddf2d5cf7e4ba51821bfd pkgname = bbrun @@ -1,26 +1,33 @@ -# $Id: PKGBUILD 266875 2017-11-15 14:29:11Z foutrelis $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Brian Bidulock <bidulock@openss7.org> # Contributor: Sven Kauber <celeon@gmail.com> pkgname=bbrun pkgver=1.6 -pkgrel=5 +pkgrel=6 pkgdesc="A run - component for blackbox window manager" -arch=(x86_64) +arch=('x86_64' 'i686') #url="http://www.darkops.net/bbrun/" url="https://packages.debian.org/unstable/x11/bbrun" license=('GPL') depends=('gtk2' 'libxpm') #source=(http://www.darkops.net/bbrun/$pkgname-$pkgver.tar.gz) -source=("http://ftp.de.debian.org/debian/pool/main/b/bbrun/bbrun_$pkgver.orig.tar.gz") +source=("list.patch" + "http://ftp.de.debian.org/debian/pool/main/b/bbrun/bbrun_$pkgver.orig.tar.gz") md5sums=('820960e3d52ddf2d5cf7e4ba51821bfd') +prepare() { + cd $pkgname-$pkgver + patch -Np2 -b -z .orig -i ../list.patch +} + build() { - cd "$srcdir"/$pkgname-$pkgver/$pkgname + cd $pkgname-$pkgver/$pkgname make LIBS="-lXpm `pkg-config --libs gtk+-2.0` -lX11 -lXext" } package() { - cd "$srcdir"/$pkgname-$pkgver/$pkgname + cd $pkgname-$pkgver/$pkgname install -Dm755 bbrun "$pkgdir"/usr/bin/bbrun } +md5sums=('721d65fc76d1985133d2dcfaf604d7b3' + '820960e3d52ddf2d5cf7e4ba51821bfd') diff --git a/list.patch b/list.patch new file mode 100644 index 000000000000..7902f86c2c4e --- /dev/null +++ b/list.patch @@ -0,0 +1,15 @@ +diff -up src/wmtime.app/wmgeneral/list.h.orig src/wmtime.app/wmgeneral/list.h +--- src/wmtime.app/wmgeneral/list.h.orig 2016-05-01 20:48:08.000000000 -0600 ++++ src/wmtime.app/wmgeneral/list.h 2016-05-01 20:48:15.000000000 -0600 +@@ -29,11 +29,7 @@ Boston, MA 02111-1307, USA. */ + #ifndef __LIST_H_ + #define __LIST_H_ + +-#if defined(__GNUC__) && !defined(__STRICT_ANSI__) +-# define INLINE inline +-#else + # define INLINE +-#endif + + typedef struct LinkedList { + void *head; |