# Maintainer: Michal Wojdyla < micwoj9292 at gmail dot com > # Contributor: Guenther Starnberger # Contributor: Moritz Lipp pkgname=gpshell pkgver=2.1.0 pkgrel=1 _commit=3832300cc5ade0439c2757ead1cf04e0e946e903 pkgdesc="gpshell GlobalPlatform command shell" license=('GPL3') arch=('i686' 'x86_64') url="https://github.com/kaoh/globalplatform" depends=('glibc' 'globalplatform') makedepends=('pandoc') source=(https://github.com/kaoh/globalplatform/archive/$_commit.zip) md5sums=('da5b1e46ac40221406e51ddf8f82ef4e') prepare() { cd globalplatform-$_commit/globalplatform/cmake_modules sed -e 's/libglobalplatform)/globalplatform)/g' -i FindGlobalPlatform.cmake } build() { cd globalplatform-$_commit/gpshell cmake . -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd globalplatform-$_commit/gpshell make DESTDIR=$pkgdir install }