summaryrefslogtreecommitdiff
path: root/extra/minicom/PKGBUILD
blob: f6fffb742901c6c12688dd15fe6a73f70f568aa9 (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' 'mips64el')
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
}