updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / owok / PKGBUILD
blobc0715e65896b1590410836242b41f4db362b0ce8
1 # Maintainer: Adam Hani Schakaki (krzd) <krzd@krzd.net>
2 pkgname=owok
3 pkgver=2.0.0.4
4 pkgrel=1
5 pkgdesc="Browser plugin for accessing chip cards via the web."
6 arch=('i686' 'x86_64')
7 url="http://www.owok.org/"
8 license=('custom')
9 depends=('pcsclite')
10 makedepends=(rpmextract)
11 source=(http://support.reiner-sct.de/downloads/$pkgname/plugins/$pkgname-$pkgver-0.i386.rpm)
12 [[ "$CARCH" == "x86_64" ]] && source=(http://support.reiner-sct.de/downloads/$pkgname/plugins/$pkgname-$pkgver-0.x86_64.rpm)
13 sha256sums=('a4396c372078471aa4699ed471a4da69759ff377fe4ec3b409b59d0228044a9f')
14 [[ "$CARCH" == "x86_64" ]] && sha256sums=('beb550e66f4dbf6f040ad57bd4b3d696c4dfe8ce4e3050796d5ce2ec1c2aa810')
16 build() {
17   cd "$srcdir"
18   rpmextract.sh $pkgname-$pkgver-*.rpm
19   install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/
20   install -m755 ${srcdir}/usr/lib/mozilla/plugins/*.so ${pkgdir}/usr/lib/mozilla/plugins/
23 # vim:set ts=2 sw=2 et: