Date: Wednesday, June 5, 2013 @ 13:48:12 Author: spupykin Revision: 92441
upgpkg: inn 2.5.3-7 upd Modified: inn/trunk/PKGBUILD ----------+ PKGBUILD | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-06-05 11:42:28 UTC (rev 92440) +++ PKGBUILD 2013-06-05 11:48:12 UTC (rev 92441) @@ -5,7 +5,7 @@ pkgname=inn pkgver=2.5.3 -pkgrel=6 +pkgrel=7 pkgdesc="Complete open source Usenet system. De facto standard for handling news routing, news spool and serving the spool to customers." url="http://www.isc.org/software/inn/" arch=('i686' 'x86_64') @@ -55,10 +55,16 @@ '050b7bffff3361c673a118739e42349e' '960c800026ed6e03901cf0bafdfd53d8') +prepare() { + cd $srcdir/inn-$pkgver +# sed -i 's|-export-dynamic gnu|-export-dynamic|' Makefile.global + [ $NOEXTRACT -eq 1 ] || patch -p3 < $srcdir/site.make.patch + sed -i 's|#define L_NOTICE.*|#define L_NOTICE LOG_NOTICE|' include/inn/options.h +} + build() { cd $srcdir/inn-$pkgver - - [ $NOEXTRACT -eq 1 ] || PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ + PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ --includedir=/usr/include/inn \ --sbindir=/usr/sbin \ --with-libtool \ @@ -78,7 +84,6 @@ --with-news-user=9 \ --with-news-group=13 # See https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database - test -f include/config.h cat >>include/config.h <<EOF #undef RUNASUSER @@ -86,9 +91,6 @@ #undef RUNASGROUP #define RUNASGROUP "news" EOF - sed -i 's|-export-dynamic gnu|-export-dynamic|' Makefile.global - [ $NOEXTRACT -eq 1 ] || patch -p3 < $srcdir/site.make.patch - make }