Date: Wednesday, January 27, 2016 @ 12:52:38 Author: fyan Revision: 159151
addpkg: lib32-aalib 1.4rc5-1 Added: lib32-aalib/ lib32-aalib/repos/ lib32-aalib/trunk/ lib32-aalib/trunk/PKGBUILD lib32-aalib/trunk/aclocal-fixes.patch ---------------------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ aclocal-fixes.patch | 11 +++++++++++ 2 files changed, 50 insertions(+) Added: lib32-aalib/trunk/PKGBUILD =================================================================== --- lib32-aalib/trunk/PKGBUILD (rev 0) +++ lib32-aalib/trunk/PKGBUILD 2016-01-27 11:52:38 UTC (rev 159151) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan <[email protected]> +# Contributor: Eric Bélanger <[email protected]> + +_pkgname=aalib +pkgname=lib32-$_pkgname +pkgver=1.4rc5 +pkgrel=1 +pkgdesc="A portable ASCII art graphic library (32 bit)" +arch=('i686' 'x86_64') +url="http://aa-project.sourceforge.net/aalib/" +license=('LGPL') +depends=('lib32-gpm' 'lib32-libx11' "$_pkgname") +makedepends=('lib32-libxt') +source=(http://downloads.sourceforge.net/sourceforge/aa-project/${_pkgname}-${pkgver}.tar.gz + aclocal-fixes.patch) +sha1sums=('a23269e950a249d2ef93625837cace45ddbce03b' + '98d8c5a13672a8107945d694ff4520e0bc87d3e9') + +prepare() { + cd ${_pkgname}-1.4.0 + patch -p0 -i "${srcdir}/aclocal-fixes.patch" +} + +build() { + export CC='gcc -m32' + export CXX='g++ -m32' + export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' + + cd ${_pkgname}-1.4.0 + ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/usr/lib32 + make +} + +package() { + cd ${_pkgname}-1.4.0 + make DESTDIR="${pkgdir}" install + rm -rf "${pkgdir}"/usr/{bin,include,share} +} Property changes on: lib32-aalib/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: lib32-aalib/trunk/aclocal-fixes.patch =================================================================== --- lib32-aalib/trunk/aclocal-fixes.patch (rev 0) +++ lib32-aalib/trunk/aclocal-fixes.patch 2016-01-27 11:52:38 UTC (rev 159151) @@ -0,0 +1,11 @@ +--- aalib.m4.orig 2006-03-05 13:58:21.000000000 +0000 ++++ aalib.m4 2006-03-05 13:58:32.000000000 +0000 +@@ -9,7 +9,7 @@ + dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) + dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS + dnl +-AC_DEFUN(AM_PATH_AALIB, ++AC_DEFUN([AM_PATH_AALIB], + [dnl + dnl Get the cflags and libraries from the aalib-config script + dnl
