diff options
author | Schala | 2016-08-19 00:29:05 -0700 |
---|---|---|
committer | Schala | 2016-08-19 00:29:05 -0700 |
commit | 08dbc7f28f4e1aec5f6197d091f3a8960f15551f (patch) | |
tree | 7ac775f8176ea22d4eb0c82b47acd236c8a21207 | |
parent | 9a1df9be890befca888914687ace15f7e735aabe (diff) | |
download | aur-08dbc7f28f4e1aec5f6197d091f3a8960f15551f.tar.gz |
keep share folder
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 7 |
3 files changed, 6 insertions, 6 deletions
@@ -1,7 +1,9 @@ +# Generated by mksrcinfo v8 +# Fri Aug 19 07:28:51 UTC 2016 pkgbase = mingw-w64-lzo pkgdesc = Portable lossless data compression library (mingw-w64) pkgver = 2.09 - pkgrel = 1 + pkgrel = 2 url = http://www.oberhumer.com/opensource/lzo/ arch = any license = GPL diff --git a/.gitignore b/.gitignore index 25cca9a92b37..5b06d8419137 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ pkg/ src/ *.gz +*.tar *.xz @@ -1,6 +1,6 @@ pkgname=mingw-w64-lzo pkgver=2.09 -pkgrel=1 +pkgrel=2 pkgdesc="Portable lossless data compression library (mingw-w64)" arch=(any) url="http://www.oberhumer.com/opensource/lzo/" @@ -20,7 +20,6 @@ build() { ${_arch}-configure \ --target=${_arch} make - #${_arch}-gcc -shared src/*.o -o src/liblzo2-0.dll -Xlinker --out-implib -Xlinker src/liblzo2.dll.a popd done } @@ -29,9 +28,7 @@ package() { for _arch in ${_architectures}; do cd "${srcdir}/lzo-${pkgver}/build-${_arch}" make DESTDIR="$pkgdir" install - #install -Dm644 src/liblzo2-0.dll "${pkgdir}"/usr/${_arch}/bin/liblzo2-0.dll - #install -m644 src/liblzo2.dll.a "${pkgdir}"/usr/${_arch}/lib/liblzo2.dll.a - rm -r "$pkgdir/usr/${_arch}/share" + #rm -r "$pkgdir/usr/${_arch}/share" find "$pkgdir/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \; find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs ${_arch}-strip -g done |