summaryrefslogtreecommitdiff
path: root/community/ser2net/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/ser2net/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/ser2net/PKGBUILD')
-rw-r--r--community/ser2net/PKGBUILD30
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
+}