diff options
author | Michel Zou | 2021-08-06 14:10:12 +0200 |
---|---|---|
committer | Michel Zou | 2021-08-06 14:10:12 +0200 |
commit | 230fe56d36c0db6d4ab206c52c9ac93f675ba2f4 (patch) | |
tree | 0be5e62c6e0965084689f1354b1df33559bc4019 | |
parent | c676d302ac8a4b0952ceec60837f2f5ad3b9dd3a (diff) | |
download | aur-230fe56d36c0db6d4ab206c52c9ac93f675ba2f4.tar.gz |
pg
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -25,7 +25,6 @@ build() { sed -i "s|/usr/local|/usr/${_arch}|g" configure.ac sed -i "s|/usr|/usr/${_arch}|g" configure.ac m4/*.m4 echo -e "#!/bin/sh\n${_arch}-wine /usr/${_arch}/bin/mariadb_config.exe \$@" > mariadb_config && chmod a+rx mariadb_config - echo -e "#!/bin/sh\n${_arch}-wine /usr/${_arch}/bin/pg_config.exe \$@" > pg_config && chmod a+rx pg_config autoreconf -vfi ./autogen.sh LDFLAGS="-lssp -lssl -lcrypt32" ${_arch}-configure --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ @@ -34,7 +33,6 @@ build() { --without-python --without-perl \ --with-geos=/usr/${_arch}/bin/geos-config \ --with-netcdf=/usr/${_arch} \ - --with-pg=./pg_config \ --with-mysql=./mariadb_config \ . make @@ -48,7 +46,7 @@ package () { make DESTDIR="${pkgdir}" install rm "$pkgdir"/usr/${_arch}/bin/*.exe rm -rf "$pkgdir"/usr/${_arch}/share - #${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll + ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a done } |