[arch-commits] Commit in uucp/repos (4 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Wed May 29 10:32:54 UTC 2013
Date: Wednesday, May 29, 2013 @ 12:32:53
Author: spupykin
Revision: 91914
archrelease: copy trunk to community-i686, community-x86_64
Added:
uucp/repos/community-i686/PKGBUILD
(from rev 91913, uucp/trunk/PKGBUILD)
uucp/repos/community-x86_64/PKGBUILD
(from rev 91913, uucp/trunk/PKGBUILD)
Deleted:
uucp/repos/community-i686/PKGBUILD
uucp/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 88 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 31 ---------------
community-x86_64/PKGBUILD | 31 ---------------
3 files changed, 88 insertions(+), 62 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-05-29 10:32:36 UTC (rev 91913)
+++ community-i686/PKGBUILD 2013-05-29 10:32:53 UTC (rev 91914)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Jick Nan <jick.nan at gmail.com>
-
-pkgname=uucp
-pkgver=1.07
-pkgrel=3
-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"
-license=('GPL')
-makedepends=('wget' 'sed' 'grep')
-backup=('etc/uucp/config'
- 'etc/uucp/port'
- 'etc/uucp/sys')
-source=(http://ftp.gnu.org/gnu/uucp/${pkgname}-${pkgver}.tar.gz)
-md5sums=('64c54d43787339a7cced48390eb3e1d0')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr --mandir=/usr/share/man --with-newconfigdir=/etc/uucp
- make
- make DESTDIR="${pkgdir}" install
-
- install -D -m644 sample/config ${pkgdir}/etc/uucp/config
- install -D -m644 sample/sys1 ${pkgdir}/etc/uucp/sys
- install -D -m644 sample/port ${pkgdir}/etc/uucp/port
- mv ${pkgdir}/usr/info ${pkgdir}/usr/share/
-}
-
Copied: uucp/repos/community-i686/PKGBUILD (from rev 91913, uucp/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-05-29 10:32:53 UTC (rev 91914)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jick Nan <jick.nan at gmail.com>
+
+pkgname=uucp
+pkgver=1.07
+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"
+license=('GPL')
+makedepends=('wget' 'sed' 'grep')
+backup=('etc/uucp/config'
+ 'etc/uucp/port'
+ 'etc/uucp/sys')
+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 --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 sample/config ${pkgdir}/etc/uucp/config
+ install -D -m644 sample/sys1 ${pkgdir}/etc/uucp/sys
+ install -D -m644 sample/port ${pkgdir}/etc/uucp/port
+ mv ${pkgdir}/usr/info ${pkgdir}/usr/share/
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-05-29 10:32:36 UTC (rev 91913)
+++ community-x86_64/PKGBUILD 2013-05-29 10:32:53 UTC (rev 91914)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Jick Nan <jick.nan at gmail.com>
-
-pkgname=uucp
-pkgver=1.07
-pkgrel=3
-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"
-license=('GPL')
-makedepends=('wget' 'sed' 'grep')
-backup=('etc/uucp/config'
- 'etc/uucp/port'
- 'etc/uucp/sys')
-source=(http://ftp.gnu.org/gnu/uucp/${pkgname}-${pkgver}.tar.gz)
-md5sums=('64c54d43787339a7cced48390eb3e1d0')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr --mandir=/usr/share/man --with-newconfigdir=/etc/uucp
- make
- make DESTDIR="${pkgdir}" install
-
- install -D -m644 sample/config ${pkgdir}/etc/uucp/config
- install -D -m644 sample/sys1 ${pkgdir}/etc/uucp/sys
- install -D -m644 sample/port ${pkgdir}/etc/uucp/port
- mv ${pkgdir}/usr/info ${pkgdir}/usr/share/
-}
-
Copied: uucp/repos/community-x86_64/PKGBUILD (from rev 91913, uucp/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-05-29 10:32:53 UTC (rev 91914)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jick Nan <jick.nan at gmail.com>
+
+pkgname=uucp
+pkgver=1.07
+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"
+license=('GPL')
+makedepends=('wget' 'sed' 'grep')
+backup=('etc/uucp/config'
+ 'etc/uucp/port'
+ 'etc/uucp/sys')
+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 --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 sample/config ${pkgdir}/etc/uucp/config
+ install -D -m644 sample/sys1 ${pkgdir}/etc/uucp/sys
+ install -D -m644 sample/port ${pkgdir}/etc/uucp/port
+ mv ${pkgdir}/usr/info ${pkgdir}/usr/share/
+}
More information about the arch-commits
mailing list