# Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=setserial pkgver=2.17 pkgrel=0 pkgdesc="Serial driver config tool" url="http://sourceforge.net/projects/setserial/" license="GPL" depends= makedepends="groff" install= subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz setserial.patch " arch="all" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" patch -p1 -i "$srcdir"/setserial.patch } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make || return 1 } package() { cd "$_builddir" mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8 make DESTDIR="$pkgdir" install } md5sums="c4867d72c41564318e0107745eb7a0f2 setserial-2.17.tar.gz 99919d3be7c1550721494070a7ace66a setserial.patch"