blob: fea30168425d062634b4de85a7b3af2c271d6d38 (
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
|
# $Id: PKGBUILD 68104 2010-02-10 18:44:17Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Aurelien Foret <orelien@chez.com>
pkgname=setserial
pkgver=2.17
pkgrel=3
pkgdesc="Allows to change various attributes of a serial device"
arch=('i686' 'x86_64')
url="http://setserial.sourceforge.net/"
license=('GPL')
depends=('glibc')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
$pkgname.patch)
md5sums=('c4867d72c41564318e0107745eb7a0f2'
'99919d3be7c1550721494070a7ace66a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i ../$pkgname.patch || return 1
./configure --prefix=/usr \
--mandir=/usr/share/man || return 1
make || return 1
install -d ${pkgdir}/usr/{bin,share/man/man8}
make DESTDIR="${pkgdir}" install || return 1
}
|