[arch-commits] Commit in lib32-aalib/repos (3 files)

Felix Yan fyan at archlinux.org
Wed Jan 27 11:52:55 UTC 2016


    Date: Wednesday, January 27, 2016 @ 12:52:55
  Author: fyan
Revision: 159152

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-aalib/repos/multilib-x86_64/
  lib32-aalib/repos/multilib-x86_64/PKGBUILD
    (from rev 159151, lib32-aalib/trunk/PKGBUILD)
  lib32-aalib/repos/multilib-x86_64/aclocal-fixes.patch
    (from rev 159151, lib32-aalib/trunk/aclocal-fixes.patch)

---------------------+
 PKGBUILD            |   39 +++++++++++++++++++++++++++++++++++++++
 aclocal-fixes.patch |   11 +++++++++++
 2 files changed, 50 insertions(+)

Copied: lib32-aalib/repos/multilib-x86_64/PKGBUILD (from rev 159151, lib32-aalib/trunk/PKGBUILD)
===================================================================
--- multilib-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-x86_64/PKGBUILD	2016-01-27 11:52:55 UTC (rev 159152)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+_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}
+}

Copied: lib32-aalib/repos/multilib-x86_64/aclocal-fixes.patch (from rev 159151, lib32-aalib/trunk/aclocal-fixes.patch)
===================================================================
--- multilib-x86_64/aclocal-fixes.patch	                        (rev 0)
+++ multilib-x86_64/aclocal-fixes.patch	2016-01-27 11:52:55 UTC (rev 159152)
@@ -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



More information about the arch-commits mailing list