summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorpingplug2018-06-05 13:02:40 +0800
committerpingplug2018-06-05 13:02:40 +0800
commit42ea93044998e474502c93ceca3cef7589fc90f4 (patch)
treeecaacaab51c104cc2f396fb7338557e501f4cae3 /PKGBUILD
parentdf2e1f413fe7a925a84d979f35101b3d1033da69 (diff)
downloadaur-42ea93044998e474502c93ceca3cef7589fc90f4.tar.gz
Updated to 0.9.10
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 21 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fc9548f199d..2a9cb22b56a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,27 @@
+# Maintainer: pingplug <pingplug@foxmail.com>
+# Contributor: Schala Zeal <schalaalexiazeal@gmail.com>
+
+_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+
pkgname=mingw-w64-libunistring
-pkgver=0.9.9
+pkgver=0.9.10
pkgrel=1
-pkgdesc="Library for manipulating Unicode strings and C strings. (mingw-w64)"
-arch=(any)
+pkgdesc="Library for manipulating Unicode strings and C strings (mingw-w64)"
+arch=('any')
url="https://www.gnu.org/software/libunistring/"
-license=("GPL")
-makedepends=(mingw-w64-gcc mingw-w64-configure)
-depends=(mingw-w64-crt mingw-w64-libiconv)
-options=(staticlibs !strip !buildflags)
+license=('GPL')
+depends=('mingw-w64-crt'
+ 'mingw-w64-libiconv')
+makedepends=('mingw-w64-configure')
+options=('!strip' 'staticlibs' '!buildflags')
source=("https://ftp.gnu.org/gnu/libunistring/libunistring-${pkgver}.tar.xz"{,.sig})
-sha256sums=('a4d993ecfce16cf503ff7579f5da64619cee66226fb3b998dafb706190d9a833'
+sha256sums=('eb8fb2c3e4b6e2d336608377050892b54c3c983b646c561836550863003c05d7'
'SKIP')
validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno <ueno@gnu.org>
-_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
-
build() {
- cd "${srcdir}/libunistring-${pkgver}"
+ cd "${srcdir}/libunistring-${pkgver}"
for _arch in ${_architectures}; do
- unset LDFLAGS
mkdir -p build-${_arch} && pushd build-${_arch}
${_arch}-configure \
--enable-threads=win32
@@ -30,9 +33,11 @@ build() {
package() {
for _arch in ${_architectures}; do
cd "${srcdir}/libunistring-${pkgver}/build-${_arch}"
- make DESTDIR="$pkgdir" install
- find "$pkgdir/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \;
- find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs ${_arch}-strip -g
- rm "$pkgdir/usr/${_arch}/share/info/dir"
+ make DESTDIR="${pkgdir}" install
+ find "${pkgdir}/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \;
+ find "${pkgdir}/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs ${_arch}-strip -g
+ rm "${pkgdir}/usr/${_arch}/share/info/dir"
done
}
+
+# vim:set ts=2 sw=2 et: