blob: acab19d66b3da184719ef19ee50dc7c6a3f5e1c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: aurelien <aurelien@archlinux.org>
# Contributor: Aurelien Foret <orelien@chez.com>
pkgname=setserial
pkgver=2.17
pkgrel=2
pkgdesc="Allows to change various attributes of a serial device."
url="http://setserial.sourceforge.net/"
depends=('glibc')
arch=(i686)
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz $pkgname.patch)
md5sums=('c4867d72c41564318e0107745eb7a0f2' '99919d3be7c1550721494070a7ace66a')
build() {
cd $startdir/src/$pkgname-$pkgver
patch -Np1 -i ../$pkgname.patch
./configure --prefix=/usr
make || return 1
mkdir -p $startdir/pkg/usr/{bin,man/man8}
make DESTDIR=$startdir/pkg install
}
|