summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f82e8c7bf908244ef71a4e1f02c5e61901c1762d (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
30
31
32
33
34
35
36
37
# Maintainer:
pkgname=luxtrust-middleware
pkgver=1.8.0
pkgrel=1
pkgdesc="LuxTrust Middleware - Gemalto PKCS#11 driver"
url="https://www.luxtrust.com/en/middleware"
arch=(x86_64)
depends=(
  'libclassicclient>=7.5.0_b02.00'
)
source_x86_64=("https://www.luxtrust.com/sites/default/files/downloads/middleware/LuxTrust_Middleware_${pkgver}_Ubuntu_64bit.tar.gz")
sha256sums_x86_64=('003f23e06ad4960b4406b64d26ab72aa92877c56c8b4a9dfe16e14a17975740f')

prepare() {
  cd "$srcdir"

  case $CARCH in
    x86_64)
      bsdtar -xf luxtrust-middleware-${pkgver}-64.deb;;
  esac

  bsdtar -xf data.tar.xz
}

package() {
  cd "$srcdir"

  cp -a opt "$pkgdir"/

  cd "$pkgdir"
  echo "$pkgdir"

  install -D -m 644 opt/LuxTrustMiddleware/LuxTrustMiddleware.desktop \
                    "$pkgdir"/usr/share/applications/LuxTrustMiddleware.desktop
}

# vim: ft=sh:ts=2:sw=2:et:nowrap