diff options
Diffstat (limited to 'community/ser2net/PKGBUILD')
-rw-r--r-- | community/ser2net/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/ser2net/PKGBUILD b/community/ser2net/PKGBUILD new file mode 100644 index 000000000..a8100ef32 --- /dev/null +++ b/community/ser2net/PKGBUILD @@ -0,0 +1,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) +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 +} |