[arch-commits] Commit in uucp/trunk (PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Wed May 29 10:32:36 UTC 2013
Date: Wednesday, May 29, 2013 @ 12:32:36
Author: spupykin
Revision: 91913
upgpkg: uucp 1.07-4
upd
Modified:
uucp/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-29 10:15:12 UTC (rev 91912)
+++ PKGBUILD 2013-05-29 10:32:36 UTC (rev 91913)
@@ -4,7 +4,7 @@
pkgname=uucp
pkgver=1.07
-pkgrel=3
+pkgrel=4
pkgdesc="Taylor UUCP is a free implementation of UUCP and is the standard UUCP used on the GNU system"
arch=(i686 x86_64)
url="http://www.gnu.org/software/uucp/uucp.html"
@@ -16,9 +16,20 @@
source=(http://ftp.gnu.org/gnu/uucp/${pkgname}-${pkgver}.tar.gz)
md5sums=('64c54d43787339a7cced48390eb3e1d0')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|${CC-cc} -E|${CC-cc} -E -O2|g' configure
+# sed -i \
+# -e '1,1i#include <unistd.h>' \
+# -e '1,1i#include <fcntl.h>' \
+# -e '1,1i#include <sys/types.h>' \
+# uuconf/rdlocs.c unix/{efopen,cusub,init}.c
+# sed -i '1,1i#include <sys/statvfs.h>' unix/fsusg.c
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man --with-newconfigdir=/etc/uucp
+ ./configure --prefix=/usr --mandir=/usr/share/man --with-newconfigdir=/etc/uucp --sbindir=/usr/bin
make
}
@@ -31,4 +42,3 @@
install -D -m644 sample/port ${pkgdir}/etc/uucp/port
mv ${pkgdir}/usr/info ${pkgdir}/usr/share/
}
-
More information about the arch-commits
mailing list