summaryrefslogtreecommitdiff
path: root/extra/minicom/PKGBUILD
blob: b1db3651b5e6d023c4382020a61045950b8f2eba (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
# $Id: PKGBUILD 108740 2011-02-02 18:46:01Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=minicom
pkgver=2.5
pkgrel=1
pkgdesc="A serial communication program"
arch=('i686'  'x86_64')
license=('GPL')
depends=('bash' 'ncurses')
backup=('etc/minirc.dfl')
source=("http://alioth.debian.org/frs/download.php/3487/${pkgname}-${pkgver}.tar.gz")
url="http://alioth.debian.org/projects/minicom/"
md5sums=('a5117d4d21e2c9e825edb586ee2fe8d2')

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

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

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

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