[arch-commits] Commit in uucp/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sat Jun 2 18:00:22 UTC 2018
Date: Saturday, June 2, 2018 @ 18:00:22
Author: jelle
Revision: 337999
archrelease: copy trunk to community-x86_64
Added:
uucp/repos/community-x86_64/PKGBUILD
(from rev 337998, uucp/trunk/PKGBUILD)
Deleted:
uucp/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 38 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-02 18:00:05 UTC (rev 337998)
+++ PKGBUILD 2018-06-02 18:00:22 UTC (rev 337999)
@@ -1,44 +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=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/
-}
Copied: uucp/repos/community-x86_64/PKGBUILD (from rev 337998, uucp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-02 18:00:22 UTC (rev 337999)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jick Nan <jick.nan at gmail.com>
+
+pkgname=uucp
+pkgver=1.07
+pkgrel=5
+pkgdesc="Taylor UUCP is a free implementation of UUCP and is the standard UUCP used on the GNU system"
+arch=(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=(https://ftp.gnu.org/gnu/uucp/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('060c15bfba6cfd1171ad81f782789032113e199a5aded8f8e0c1c5bd1385b62c')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|${CC-cc} -E|${CC-cc} -E -O2|g' configure
+}
+
+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