diff options
author | Gonzalo Exequiel Pedone | 2024-04-18 16:53:10 -0300 |
---|---|---|
committer | Gonzalo Exequiel Pedone | 2024-04-18 16:53:10 -0300 |
commit | ba14165fee526f0cc21c0890a923777bca4bcdc9 (patch) | |
tree | cc89c1de8b018ab22dfa38c76d8901c86080be49 | |
download | aur-android-x86-libthai.tar.gz |
New package.
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 37 |
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d0c1ae4dffdc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = android-x86-libthai + pkgdesc = Thai language support library (Android x86) + pkgver = 0.1.29 + pkgrel = 1 + url = https://linux.thai.net/projects/libthai + arch = any + license = LGPL-2.1-or-later + makedepends = android-configure + depends = android-x86-libdatrie + options = !strip + options = !buildflags + options = staticlibs + options = !emptydirs + source = https://linux.thai.net/pub/thailinux/software/libthai/libthai-0.1.29.tar.xz + sha256sums = fc80cc7dcb50e11302b417cebd24f2d30a8b987292e77e003267b9100d0f4bcd + +pkgname = android-x86-libthai diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..b5b03b115225 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +pkg +src +*.tar.xz +*.tar.gz +*.tar.bz2 +*.asc diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..32586d839aa4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com> +# Contributor: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Chaiwat Suttipongsakul <cwt114@gmail.com> + +_android_arch=x86 + +pkgname=android-${_android_arch}-libthai +pkgver=0.1.29 +pkgrel=1 +arch=('any') +pkgdesc="Thai language support library (Android ${_android_arch})" +url='https://linux.thai.net/projects/libthai' +license=('LGPL-2.1-or-later') +depends=("android-${_android_arch}-libdatrie") +makedepends=('android-configure') +options=(!strip !buildflags staticlibs !emptydirs) +source=("https://linux.thai.net/pub/thailinux/software/libthai/libthai-$pkgver.tar.xz") +sha256sums=('fc80cc7dcb50e11302b417cebd24f2d30a8b987292e77e003267b9100d0f4bcd') + +build() { + cd "${srcdir}/libthai-${pkgver}" + source android-env ${_android_arch} + + android-${_android_arch}-configure \ + --disable-doxygen-doc + make $MAKEFLAGS +} + +package() { + cd "${srcdir}/libthai-${pkgver}" + source android-env ${_android_arch} + + make DESTDIR="$pkgdir" install + ${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}"/${ANDROID_PREFIX_LIB}/*.so + ${ANDROID_STRIP} -g "$pkgdir"/${ANDROID_PREFIX_LIB}/*.a +} |