[arch-commits] Commit in lrzsz/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Tue Apr 22 14:53:14 UTC 2014


    Date: Tuesday, April 22, 2014 @ 16:53:13
  Author: spupykin
Revision: 109952

upgpkg: lrzsz 0.12.20-5

upd

Modified:
  lrzsz/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-22 11:04:33 UTC (rev 109951)
+++ PKGBUILD	2014-04-22 14:53:13 UTC (rev 109952)
@@ -5,7 +5,7 @@
 
 pkgname=lrzsz
 pkgver=0.12.20
-pkgrel=4
+pkgrel=5
 pkgdesc="xmodem, ymodem and zmodem file transfer protocols"
 url="http://www.ohse.de/uwe/software/lrzsz.html"
 license=('GPL2')
@@ -15,9 +15,14 @@
 md5sums=('b5ce6a74abc9b9eb2af94dffdfd372a4'
          '332f6e4af9fe0266efecf9d334c4d3db')
 
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  patch -Np1 -i ../lrzsz.patch
+  sed -i 's|${CC-cc} -E|${CC-cc} -O2 -E|g' configure
+}
+
 build() {
   cd $srcdir/$pkgname-$pkgver
-  patch -Np1 -i ../lrzsz.patch
   # Rename file so they can be used with minicom
   ./configure --prefix=/usr --mandir=/usr/share/man \
 	--program-transform-name=s/l//




More information about the arch-commits mailing list