updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / opie-server / PKGBUILD
blobe8c1388acb818250b2b4ff08f01edab586390981
1 # Maintainer: Abakus <java5@arcor.de>
2 # Contributor: Stefan J. Betz <info@stefan-betz.net>
3 pkgname=opie-server
4 pkgver=2.32
5 pkgrel=2
6 pkgdesc="S/KEY Server utilities"
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 url="http://packages.debian.org/sid/opie-server"
10 backup=('etc/opiekeys')
11 source=("http://ftp.de.debian.org/debian/pool/main/o/opie/opie_$pkgver.dfsg.1.orig.tar.gz"
12         "http://ftp.de.debian.org/debian/pool/main/o/opie/opie_$pkgver.dfsg.1-0.2.diff.gz")
13 md5sums=('fc269281acbb567839589aa46bce3335'
14          '9c52858bd5d208bf983a6d0c16689f86')
16 build() {
17         mkdir $pkgdir/etc
18         mkdir -p $pkgdir/usr/share/man/man1
19         mkdir -p $pkgdir/usr/share/man/man5
20         cd $srcdir/opie-$pkgver.dfsg.1
21         patch -p1 < ../opie_$pkgver.dfsg.1-0.2.diff
22         ./configure --enable-retype --prefix=$pkgdir/usr
23         make server
24         make server-install KEY_FILE=$pkgdir/etc/opiekeys LOCK_DIR=$pkgdir/etc/opielocks
25         gzip --best opiepasswd.1 opieinfo.1 opiekeys.5
26         install opieinfo.1.gz $pkgdir/usr/share/man/man1/opieinfo.1.gz
27         install opiepasswd.1.gz $pkgdir/usr/share/man/man1/opiepasswd.1.gz
28         install opiekeys.5.gz $pkgdir/usr/share/man/man5/opiekeys.5.gz