summaryrefslogtreecommitdiff
path: root/extra/p11-kit/PKGBUILD
blob: af7957d73dc01c05c3eed081d5d919cb06b15010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 142993 2011-11-20 08:43:27Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>

pkgname=p11-kit
pkgver=0.9
pkgrel=1
pkgdesc="Library to work with PKCS#11 modules"
arch=(i686 x86_64 mips64el)
url="http://p11-glue.freedesktop.org"
license=('BSD')
depends=(glibc)
options=(!libtool)
source=($url/releases/$pkgname-$pkgver.tar.gz)
md5sums=('029aa2a3a103e7eb81b4aa731b93539e')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --sysconfdir=/etc \
    --with-module-path=/usr/lib/pkcs11
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}

# vim:set ts=2 sw=2 et: