updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / ykpers / PKGBUILD
blobcec59610a3811534b15863ddaff0d1e33e3be18d
1 # Maintainer: Linus Karlsson <arch at zozs dot se>
2 # Contributor: Peter Hultqvist <endnode dot se>
3 pkgname=ykpers
4 pkgver=1.6.1
5 pkgrel=2
6 pkgdesc="A small library for personalization of Yubico's USB key"
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/yubikey-personalization/"
9 license=('custom:BSD')
10 depends=('libyubikey')
11 options=('!libtool')
12 source=(
13         http://yubikey-personalization.googlecode.com/files/$pkgname-$pkgver.tar.gz
15 sha1sums=('39ef063bcb17cb62e4a7a282db3a0ee896290e41')
17 build()
19         cd $srcdir/$pkgname-$pkgver/
20         ./configure --prefix=/usr || return 1
21         make || return 1
22         make DESTDIR="$pkgdir/" install || return 1
24         install -D -m0644 $srcdir/$pkgname-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING || return 1