diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-23 03:27:46 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-23 03:27:46 +0000 |
commit | 0459e6459ee534bf22ab8a5381cd485e6035e9e2 (patch) | |
tree | 605a15ed18dc37695caaeb02271fdd06320a00f3 /community/lrzsz | |
parent | d4b7ceefdfb9c828799749419e8f8f7a36c2d7b8 (diff) |
Wed Apr 23 03:24:08 UTC 2014
Diffstat (limited to 'community/lrzsz')
-rw-r--r-- | community/lrzsz/PKGBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/lrzsz/PKGBUILD b/community/lrzsz/PKGBUILD index cb1874f18..e1cf72c25 100644 --- a/community/lrzsz/PKGBUILD +++ b/community/lrzsz/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 66212 2012-02-23 03:25:05Z spupykin $ +# $Id: PKGBUILD 109953 2014-04-22 14:53:26Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jeremie Dimino <jeremie@dimino.org> # Contributor: bender02 at gmx dot com 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,12 +15,21 @@ source=(http://www.ohse.de/uwe/releases/$pkgname-$pkgver.tar.gz md5sums=('b5ce6a74abc9b9eb2af94dffdfd372a4' '332f6e4af9fe0266efecf9d334c4d3db') -build() { +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 } |