diff options
author | Gonzalo Exequiel Pedone | 2019-10-09 11:51:30 -0300 |
---|---|---|
committer | Gonzalo Exequiel Pedone | 2019-10-09 11:51:30 -0300 |
commit | 97f67d36ff2eec5391b39f48dd9dc7187c2c623c (patch) | |
tree | 7d2b8ed820fb6106dcb252f0150736443e52f58c | |
download | aur-97f67d36ff2eec5391b39f48dd9dc7187c2c623c.tar.gz |
First commit.
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 39 |
3 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6a833008e1af --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = android-armv7a-eabi-libunistring + pkgdesc = Library for manipulating Unicode strings and C strings (android) + pkgver = 0.9.10 + pkgrel = 1 + url = https://www.gnu.org/software/libunistring/ + arch = any + license = GPL + makedepends = android-configure + depends = android-ndk + depends = android-armv7a-eabi-libiconv + options = !strip + options = !buildflags + options = staticlibs + options = !emptydirs + source = https://ftp.gnu.org/gnu/libunistring/libunistring-0.9.10.tar.xz + source = https://ftp.gnu.org/gnu/libunistring/libunistring-0.9.10.tar.xz.sig + validpgpkeys = 462225C3B46F34879FC8496CD605848ED7E69871 + sha256sums = eb8fb2c3e4b6e2d336608377050892b54c3c983b646c561836550863003c05d7 + sha256sums = SKIP + +pkgname = android-armv7a-eabi-libunistring + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..52742932e678 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +pkg +src +*.tar.xz +*.tar.gz +*.tar.bz2 +*.sig diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a28f24371365 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com> +# Contributor: pingplug < aur at pingplug dot me > +# Contributor: Schala Zeal < schalaalexiazeal at gmail dot com > + +_android_arch=armv7a-eabi + +pkgname=android-${_android_arch}-libunistring +pkgver=0.9.10 +pkgrel=1 +pkgdesc="Library for manipulating Unicode strings and C strings (android)" +arch=('any') +url="https://www.gnu.org/software/libunistring/" +license=('GPL') +depends=('android-ndk' + "android-${_android_arch}-libiconv") +options=(!strip !buildflags staticlibs !emptydirs) +makedepends=('android-configure') +source=("https://ftp.gnu.org/gnu/libunistring/libunistring-${pkgver}.tar.xz"{,.sig}) +sha256sums=('eb8fb2c3e4b6e2d336608377050892b54c3c983b646c561836550863003c05d7' + 'SKIP') +validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno <ueno@gnu.org> + +build() { + cd "${srcdir}"/libunistring-${pkgver} + source android-env ${_android_arch} + + android-${_android_arch}-configure + make $MAKEFLAGS +} + +package() { + cd "${srcdir}"/libunistring-${pkgver} + source android-env ${_android_arch} + + make DESTDIR="$pkgdir" install + rm -r "${pkgdir}"/${ANDROID_PREFIX_SHARE} + ${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}"/${ANDROID_PREFIX_LIB}/*.so + ${ANDROID_STRIP} -g "$pkgdir"/${ANDROID_PREFIX_LIB}/*.a +} |