blob: 917763d9c85fe4c92b717c9688e8fecf435f83c9 (
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
28
29
30
|
# $Id: PKGBUILD 91532 2013-05-23 11:17:30Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
pkgname=ser2net
pkgver=2.8rc3
pkgrel=3
pkgdesc="A proxy that allows telnet/tcp connections to be made to serial ports"
arch=(i686 x86_64 'mips64el')
url="http://sourceforge.net/projects/ser2net"
license=('GPL')
depends=('glibc')
backup=(etc/ser2net.conf)
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver/rc/-rc}.tar.gz
ser2net.service)
md5sums=('bbe95fb557781c314d321356897a50b9'
'9a94f9ba5595359c92d099465ab7c828')
build() {
cd $srcdir/${pkgname}-${pkgver/rc/-rc}
./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
cd $srcdir/${pkgname}-${pkgver/rc/-rc}
make DESTDIR=$pkgdir install
install -Dm0644 ser2net.conf $pkgdir/etc/ser2net.conf
install -Dm0644 $srcdir/ser2net.service $pkgdir/usr/lib/systemd/system/ser2net.service
}
|