diff options
author | osfans | 2017-05-16 09:58:20 +0800 |
---|---|---|
committer | osfans | 2017-05-16 09:58:20 +0800 |
commit | 5409bd865e6d917834a2775b4673e24d376dbbf6 (patch) | |
tree | 364425bdbc774687a0447f51b84263a53c218f74 | |
parent | fcae6fd2d6cbcc13a0ef807567780c0b8b03700b (diff) | |
download | aur-mingw-w64-opencc.tar.gz |
link dll
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Mon May 15 09:33:22 UTC 2017 +# Tue May 16 01:57:42 UTC 2017 pkgbase = mingw-w64-opencc pkgdesc = Library for Open Chinese Convert (mingw-w64) pkgver = 1.0.5 @@ -37,7 +37,9 @@ package() { make DESTDIR="${pkgdir}" install popd cp build-${_arch}/src/libopencc.dll ${pkgdir}/usr/${_arch}/bin/ - ln -s ${pkgdir}/usr/${_arch}/bin/libopencc.dll ${pkgdir}/usr/${_arch}/bin/opencc.dll cp build-${_arch}-static/src/libopencc.a ${pkgdir}/usr/${_arch}/lib/ + ${_arch}-strip --strip-unneeded ${pkgdir}/usr/${_arch}/bin/*.exe + ${_arch}-strip --strip-unneeded ${pkgdir}/usr/${_arch}/bin/*.dll + ln -s libopencc.dll ${pkgdir}/usr/${_arch}/bin/opencc.dll done } |