summaryrefslogtreecommitdiff
path: root/extra/minicom/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/minicom/PKGBUILD')
-rw-r--r--extra/minicom/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/minicom/PKGBUILD b/extra/minicom/PKGBUILD
new file mode 100644
index 000000000..b1db3651b
--- /dev/null
+++ b/extra/minicom/PKGBUILD
@@ -0,0 +1,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
+}