diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-04-25 02:08:58 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-04-25 03:20:10 +0200 |
commit | 183f62d73b68c294aeea5ec453fb19a7c3caed27 (patch) | |
tree | 9e29614ba3f46e6bcd2217127c8d7ceca1ec0ed5 /arch/tde-deps/opensc | |
parent | fefef1b0cb5b95684809e7b3f24e67fbe25ce718 (diff) | |
download | tde-packaging-183f62d73b68c294aeea5ec453fb19a7c3caed27.tar.gz tde-packaging-183f62d73b68c294aeea5ec453fb19a7c3caed27.zip |
ArchLinux: Update for final R14.1.0.
Add pkgbuilds for several applications.
Add pkgbuilds for dependencies that
are not available on archlinuxpower.org.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/tde-deps/opensc')
-rw-r--r-- | arch/tde-deps/opensc/PKGBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/arch/tde-deps/opensc/PKGBUILD b/arch/tde-deps/opensc/PKGBUILD new file mode 100644 index 000000000..2195152d9 --- /dev/null +++ b/arch/tde-deps/opensc/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Alad +# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com> +# Contributor: Sébastien Luttringer +# Contributor: kevku <kevku@msn.com> + +pkgname=opensc +pkgver=0.23.0 +pkgrel=1 +pkgdesc='Tools and libraries for smart cards' +arch=('powerpc64le') +url='https://github.com/OpenSC/OpenSC/wiki' +license=('LGPL') +backup=('etc/opensc.conf') +makedepends=('docbook-xsl') +depends=('pcsclite' 'glib2' 'libltdl') +options=(!emptydirs !lto) +source=("https://github.com/OpenSC/OpenSC/releases/download/$pkgver/opensc-$pkgver.tar.gz") +sha512sums=('cd102cd64e719c59153960a4921b7525055045f16e6f6ffa8c9def6ce999a9c5098267b41f8753b41107f626bea20c34561002f5d38eddb4ce6b371913a17a1b') + +build() { + cd $pkgname-$pkgver + + _sheetdir=(/usr/share/xml/docbook/xsl-stylesheets-*-nons) + + ./bootstrap + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --with-completiondir=/usr/share/bash-completion/completions \ + --enable-man \ + --enable-doc \ + --enable-readline \ + --enable-openssl \ + --enable-pcsc \ + --enable-zlib \ + --enable-sm \ + --with-xsl-stylesheetsdir="$_sheetdir" + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package(){ + cd $pkgname-$pkgver + + make DESTDIR="$pkgdir" install + + install -D -m644 etc/opensc.conf "$pkgdir/etc/opensc.conf" +} + +# vim:set ts=2 sw=2 et: |