diff options
Diffstat (limited to 'community/minicom/PKGBUILD')
-rw-r--r-- | community/minicom/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/minicom/PKGBUILD b/community/minicom/PKGBUILD new file mode 100644 index 000000000..42961ce69 --- /dev/null +++ b/community/minicom/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 102303 2013-12-07 19:40: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.2 +pkgrel=2 +pkgdesc="A serial communication program" +arch=('i686' 'x86_64') +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=("https://alioth.debian.org/frs/download.php/file/3869/${pkgname}-${pkgver}.tar.gz") +md5sums=('203c56c4b447f45e2301b0cc4e83da3c') + +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 +} |