summaryrefslogtreecommitdiff
path: root/extra/minicom/PKGBUILD
blob: fc069045a5fe70c631b0e319545e4232558cb3f0 (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
29
30
31
32
33
# $Id: PKGBUILD 154279 2012-03-25 09:59:29Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Denis Tikhomirov <dvtikhomirov@gmail.com>

pkgname=minicom
pkgver=2.6.1
pkgrel=1
pkgdesc="A serial communication program"
arch=('i686'  'x86_64' 'mips64el')
url="http://alioth.debian.org/projects/minicom/"
license=('GPL')
depends=('bash')
optdepends=('lrzsz: for xmodem, ymodem and zmodem file transfer protocols')
backup=('etc/minirc.dfl')
source=("http://alioth.debian.org/frs/download.php/3700/${pkgname}-${pkgver}.tar.gz")
md5sums=('435fb410a5bfa9bb20d4248b3ca53529')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr \
              --sysconfdir=/etc
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}/" install
  install -Dm644 doc/minirc.dfl ${pkgdir}/etc/minirc.dfl
}