summaryrefslogtreecommitdiff
path: root/community/lrzsz/PKGBUILD
blob: cb1874f1879397a5a0d951ad2871c12bc5dd95aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 66212 2012-02-23 03:25:05Z 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
pkgdesc="xmodem, ymodem and zmodem file transfer protocols"
url="http://www.ohse.de/uwe/software/lrzsz.html"
license=('GPL2')
arch=('i686' 'x86_64')
source=(http://www.ohse.de/uwe/releases/$pkgname-$pkgver.tar.gz
	lrzsz.patch)
md5sums=('b5ce6a74abc9b9eb2af94dffdfd372a4'
         '332f6e4af9fe0266efecf9d334c4d3db')

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//
  make -j1
  make -j1 DESTDIR=$pkgdir install
}