summaryrefslogtreecommitdiff
path: root/community/ser2net/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-06 00:25:32 -0700
committerroot <root@rshg054.dnsready.net>2012-10-06 00:25:32 -0700
commite7552010f531ef1b114352f0ce71a307360bf1d4 (patch)
treed37bd67211f2dc084113f36b80f2b4b5b9622aa5 /community/ser2net/PKGBUILD
parent777466db27694f0cad10a7159ba66f2a2b39a516 (diff)
Sat Oct 6 00:25:32 PDT 2012
Diffstat (limited to 'community/ser2net/PKGBUILD')
-rw-r--r--community/ser2net/PKGBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/community/ser2net/PKGBUILD b/community/ser2net/PKGBUILD
index e9c4b0f5d..50cf15ded 100644
--- a/community/ser2net/PKGBUILD
+++ b/community/ser2net/PKGBUILD
@@ -1,26 +1,33 @@
-# $Id: PKGBUILD 65435 2012-02-21 05:45:30Z spupykin $
+# $Id: PKGBUILD 77110 2012-10-05 10:16:21Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
pkgname=ser2net
-pkgver=2.7
-pkgrel=2
+pkgver=2.8rc3
+pkgrel=1
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}.tar.gz
- ser2net.init)
-md5sums=('22977477789868923a5de09a85e847dd'
- '6db420d54ce8f78464e885efe935dd18')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver/rc/-rc}.tar.gz
+ ser2net.init
+ ser2net.service)
+md5sums=('bbe95fb557781c314d321356897a50b9'
+ '6db420d54ce8f78464e885efe935dd18'
+ '7f9d879325b9ed6ddc313dcbc3f83e56')
build() {
- cd $srcdir/${pkgname}-${pkgver}
+ cd $srcdir/${pkgname}-${pkgver/rc/-rc}
./configure --prefix=/usr
make
+}
+
+package() {
+ cd $srcdir/${pkgname}-${pkgver/rc/-rc}
make DESTDIR=$pkgdir install
- install -D -m 0644 ser2net.conf $pkgdir/etc/ser2net.conf
- install -D -m 0755 ../ser2net.init $pkgdir/etc/rc.d/ser2net
+ install -Dm0644 ser2net.conf $pkgdir/etc/ser2net.conf
+ install -Dm0755 $srcdir/ser2net.init $pkgdir/etc/rc.d/ser2net
+ install -Dm0644 $srcdir/ser2net.service $pkgdir/usr/lib/systemd/system/ser2net.service
}