updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / telnet-bsd / PKGBUILD
blob848d09e23fe42ca9eb549561ddff92783033aaa6
1 # Contributor: Baptiste Daroussin <baptiste.daroussin@gmail.com>
2 pkgname=telnet-bsd
3 pkgver=1.2
4 pkgrel=1
5 pkgdesc="Telnet and telnetd ported from OpenBSD"
6 arch=("i686" "x86_64")
7 url="ftp://ftp.suse.com/pub/people/kukuk/ipv6/"
8 license=('BSD')
9 depends=('ncurses')
10 conflicts=("netkit-telnet")
11 source=(ftp://ftp.suse.com/pub/people/kukuk/ipv6/$pkgname-$pkgver.tar.bz2 telnet.xinetd)
12 md5sums=('72d72c65e7796dfec999f347da1c295f' 'c6e6ca4ba8e084be8ce2a170bebc17cc')
14 build() {
15   cd $startdir/src/$pkgname-$pkgver
16   ./configure --prefix=/usr
17   make || return 1
18   make DESTDIR=$startdir/pkg install 
19   install -D -m644 $startdir/src/telnet.xinetd $startdir/pkg/etc/xinetd.d/telnet
20   chown -R root:root $startdir/pkg/