summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a295d116703ae97362acc568a507029a74f25ee7 (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
# Submitter: Guenther Starnberger <gst@sysfrog.org>
# Maintainer: Moritz Lipp <mlq@pwmt.org>

pkgname=globalplatform
pkgver=6.0.0
pkgrel=2
pkgdesc="GlobalPlatform libraries"
license=('GPL3')
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/globalplatform/"
depends=('glibc' 'pcsclite' 'openssl')
source=(http://downloads.sourceforge.net/globalplatform/globalplatform-${pkgver}.tar.gz)
options=('!libtool')
md5sums=('881e12663923952fcc94f5eeae47bcd2')

prepare() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc

  msg "Patching Makefiles"
  sed -i 's/gnu-ldl/gnu/g' Makefile src/Makefile
}

build() {
  cd $srcdir/$pkgname-$pkgver
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}