updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / libopie / PKGBUILD
blob83eb9aae407854f3f6a6800a57c2bf52f46532e4
1 # Maintainer: Stefan J. Betz <info@stefan-betz.net>
2 pkgname=libopie
3 pkgver=2.32
4 pkgrel=1
5 pkgdesc="S/KEY Library"
6 arch=('i686' 'x86_64')
7 license=('GPL')
8 url="http://packages.debian.org/sid/opie-server"
9 source=("http://ftp.de.debian.org/debian/pool/main/o/opie/opie_$pkgver.dfsg.1.orig.tar.gz"
10         "http://ftp.de.debian.org/debian/pool/main/o/opie/opie_$pkgver.dfsg.1-0.2.diff.gz")
11 md5sums=('fc269281acbb567839589aa46bce3335'
12          '9c52858bd5d208bf983a6d0c16689f86')
14 build() {
15         mkdir -p $pkgdir/usr/lib $pkgdir/usr/include
16         cd $srcdir/opie-$pkgver.dfsg.1
17         patch -p1 < ../opie_$pkgver.dfsg.1-0.2.diff
18         ./configure --enable-retype --prefix=$pkgdir/usr
19         make libopie/libopie.a
20         install -m0644 opie.h $pkgdir/usr/include
21         install libopie/libopie.a $pkgdir/usr/lib