blob: c132cc7ef82d1cee7b3bd65dd5e3ed040a172e7e (
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
38
39
40
41
42
43
44
|
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
# Contributor: Andrew Sun <adsun701 at gmail dot com>
_android_arch=x86
pkgname=android-${_android_arch}-libassuan
pkgver=3.0.0
pkgrel=1
arch=('any')
pkgdesc="IPC library used by some GnuPG related software (Android ${_android_arch})"
url="http://www.gnupg.org/related_software/libassuan/"
license=('GPL')
groups=('android-libassuan')
depends=("android-${_android_arch}-libgpg-error")
makedepends=('android-configure')
options=(!strip !buildflags staticlibs !emptydirs)
source=("https://gnupg.org/ftp/gcrypt/libassuan/libassuan-${pkgver}.tar.bz2")
md5sums=('b7f42a82a4864fb275c290a155cd1b8a')
prepare() {
cd "${srcdir}/libassuan-${pkgver}"
source android-env ${_android_arch}
autoreconf -fi
}
build() {
cd "${srcdir}/libassuan-${pkgver}"
source android-env ${_android_arch}
android-${_android_arch}-configure \
--with-libgpg-error-prefix="${ANDROID_PREFIX}"
make $MAKEFLAGS
}
package() {
cd "${srcdir}/libassuan-${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
}
|