[arch-commits] Commit in lrzsz/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:05:03 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:05:02
  Author: felixonmars
Revision: 659539

archrelease: copy trunk to community-staging-x86_64

Added:
  lrzsz/repos/community-staging-x86_64/
  lrzsz/repos/community-staging-x86_64/PKGBUILD
    (from rev 659536, lrzsz/trunk/PKGBUILD)
  lrzsz/repos/community-staging-x86_64/lrzsz.patch
    (from rev 659537, lrzsz/trunk/lrzsz.patch)

-------------+
 PKGBUILD    |   34 ++++++++++++++++++++++++++++++++++
 lrzsz.patch |   40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

Copied: lrzsz/repos/community-staging-x86_64/PKGBUILD (from rev 659536, lrzsz/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:05:02 UTC (rev 659539)
@@ -0,0 +1,34 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jeremie Dimino <jeremie at dimino.org>
+# Contributor: bender02 at gmx dot com
+
+pkgname=lrzsz
+pkgver=0.12.20
+pkgrel=7
+pkgdesc="xmodem, ymodem and zmodem file transfer protocols"
+url="https://www.ohse.de/uwe/software/lrzsz.html"
+license=('GPL2')
+arch=('x86_64')
+source=(https://www.ohse.de/uwe/releases/$pkgname-$pkgver.tar.gz
+	lrzsz.patch)
+sha512sums=('9bce64036f1f1c65f5910f19802aecaf3dc5ffeab0feeca10fa8d2fe1b83e212391cce23056d22fd0eda52df89e12ede68eb5d22ffcf22f935910d2af7399f12'
+            '4912ec15bb1bd63b2af0c74970daf3023bdc441ad3f5f3c95b3bf46b5f11e21022dcfe5c80151ffc99ae1fd3df9b7fe01f44d00a1d8f1a35e04f68e7f3f38430')
+
+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
+  # Rename file so they can be used with minicom
+  ./configure --prefix=/usr --mandir=/usr/share/man \
+	--program-transform-name=s/l//
+  make -j1
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make -j1 DESTDIR="$pkgdir" install
+}

Copied: lrzsz/repos/community-staging-x86_64/lrzsz.patch (from rev 659537, lrzsz/trunk/lrzsz.patch)
===================================================================
--- community-staging-x86_64/lrzsz.patch	                        (rev 0)
+++ community-staging-x86_64/lrzsz.patch	2020-07-07 17:05:02 UTC (rev 659539)
@@ -0,0 +1,40 @@
+diff -ur lrzsz-0.12.20-orig/src/Makefile.am lrzsz-0.12.20/src/Makefile.am
+--- lrzsz-0.12.20-orig/src/Makefile.am	1998-12-28 09:38:47.000000000 +0100
++++ lrzsz-0.12.20/src/Makefile.am	2007-10-13 22:48:15.000000000 +0200
+@@ -18,13 +18,13 @@
+ 	rm -f $(DESTDIR)/$(bindir)/`echo lsb | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lsb |sed -e '$(transform)'` 
+-	rm -f $(bindir)/`echo lsx | sed -e '$(transform)'`
++	rm -f $(DESTDIR)/$(bindir)/`echo lsx | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lsx |sed -e '$(transform)'` 
+-	rm -f $(bindir)/`echo lrb | sed -e '$(transform)'`
++	rm -f $(DESTDIR)/$(bindir)/`echo lrb | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lrb |sed -e '$(transform)'` 
+-	rm -f $(bindir)/`echo lrx | sed -e '$(transform)'`
++	rm -f $(DESTDIR)/$(bindir)/`echo lrx | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lrx |sed -e '$(transform)'` 
+ #	rm -f $(bindir)/`echo lrzszbug | sed -e '$(transform)'`
+diff -ur lrzsz-0.12.20-orig/src/Makefile.in lrzsz-0.12.20/src/Makefile.in
+--- lrzsz-0.12.20-orig/src/Makefile.in	1998-12-30 17:31:46.000000000 +0100
++++ lrzsz-0.12.20/src/Makefile.in	2007-10-13 22:47:48.000000000 +0200
+@@ -372,13 +372,13 @@
+ 	rm -f $(DESTDIR)/$(bindir)/`echo lsb | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lsb |sed -e '$(transform)'` 
+-	rm -f $(bindir)/`echo lsx | sed -e '$(transform)'`
++	rm -f $(DESTDIR)/$(bindir)/`echo lsx | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lsx |sed -e '$(transform)'` 
+-	rm -f $(bindir)/`echo lrb | sed -e '$(transform)'`
++	rm -f $(DESTDIR)/$(bindir)/`echo lrb | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lrb |sed -e '$(transform)'` 
+-	rm -f $(bindir)/`echo lrx | sed -e '$(transform)'`
++	rm -f $(DESTDIR)/$(bindir)/`echo lrx | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lrx |sed -e '$(transform)'` 
+ #	rm -f $(bindir)/`echo lrzszbug | sed -e '$(transform)'`



More information about the arch-commits mailing list