[arch-commits] Commit in lib32-libproxy/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:32:24 UTC 2018


    Date: Friday, November 9, 2018 @ 21:32:24
  Author: felixonmars
Revision: 404669

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-libproxy/repos/multilib-staging-x86_64/
  lib32-libproxy/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 404667, lib32-libproxy/trunk/PKGBUILD)

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: lib32-libproxy/repos/multilib-staging-x86_64/PKGBUILD (from rev 404667, lib32-libproxy/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2018-11-09 21:32:24 UTC (rev 404669)
@@ -0,0 +1,48 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: TryA <tryagainprod at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: josephgbr <rafael.f.f1 at gmail.com>
+
+pkgname=lib32-libproxy
+pkgver=0.4.15
+pkgrel=2
+pkgdesc='A library that provides automatic proxy configuration management'
+arch=('x86_64')
+url='http://libproxy.googlecode.com'
+license=('LGPL')
+depends=('lib32-gcc-libs' 'libproxy')
+makedepends=('cmake' 'gcc-multilib' 'lib32-zlib')
+source=("https://github.com/libproxy/libproxy/archive/${pkgver}.tar.gz")
+md5sums=('21ebe5b4ea2a04f5f468bf5d08c40d2c')
+
+build() {
+  cd libproxy-${pkgver}
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build && cd build
+
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX='/usr' \
+    -DCMAKE_C_FLAGS="${CFLAGS}" \
+    -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+    -DCMAKE_SKIP_RPATH='ON' \
+    -DLIBEXEC_INSTALL_DIR='/usr/lib32/libproxy' \
+    -DLIB_SUFFIX='32' \
+    -DWITH_{GNOME3,KDE,MOZJS,NATUS,NM,PERL,WEBKIT}='OFF'
+  make
+}
+
+package() {
+  cd libproxy-${pkgver}/build
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{bin,include,share}
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list