blob: 979c6b9a674ab6b47b88a3a6ca5164de5c52dd86 (
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
|
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
# Contributor: Andrew Sun <adsun701 at gmail dot com>
_android_arch=aarch64
pkgname=android-${_android_arch}-libksba
pkgver=1.6.7
pkgrel=1
arch=('any')
pkgdesc="A CMS and X.509 access library (Android ${_android_arch})"
url="https://www.gnupg.org/related_software/libksba/index.html"
license=('GPL')
depends=("android-${_android_arch}-libgpg-error")
makedepends=('android-configure')
options=(!strip !buildflags staticlibs !emptydirs)
source=("https://gnupg.org/ftp/gcrypt/libksba/libksba-${pkgver}.tar.bz2")
md5sums=('7e736de467b67c7ea88de746c31ea12f')
build() {
cd "${srcdir}/libksba-${pkgver}/"
source android-env ${_android_arch}
android-${_android_arch}-configure \
--with-libgpg-error-prefix="${ANDROID_PREFIX}"
make $MAKEFLAGS
}
package() {
cd "${srcdir}/libksba-${pkgver}/"
source android-env ${_android_arch}
make DESTDIR="$pkgdir" install
rm -rf "${pkgdir}"/${ANDROID_PREFIX_SHARE}
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}"/${ANDROID_PREFIX_LIB}/*.so
${ANDROID_STRIP} -g "$pkgdir"/${ANDROID_PREFIX_LIB}/*.a
}
|