summaryrefslogtreecommitdiff
path: root/community/lrzsz/PKGBUILD
blob: eb90c46d6a18bff7c192e73ba2188515dffd6110 (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
27
28
# $Id: PKGBUILD 19892 2010-06-30 13:19:34Z 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=3
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 || return 1

  # Rename file so they can be used with minicom
  ./configure --prefix=/usr --mandir=/usr/share/man \
	--program-transform-name=s/l//
  make -j1 || return 1
  make -j1 DESTDIR=$pkgdir install || return 1
}