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

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 21:50:52 UTC 2018


    Date: Friday, November 9, 2018 @ 21:50:51
  Author: foutrelis
Revision: 404769

archrelease: copy trunk to multilib-staging-x86_64

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

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

Copied: lib32-popt/repos/multilib-staging-x86_64/PKGBUILD (from rev 404768, lib32-popt/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2018-11-09 21:50:51 UTC (rev 404769)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Michael Lass <bevan at bi-co.net>
+# Contributor: jospehgbr <rafael.f.f1 at gmail.com>
+# Contributor: coderoar <coderoar at gmail.com>
+# Contributor: webjdm <web.jdm at gmail.com>
+
+_pkgbase=popt
+pkgname=lib32-${_pkgbase}
+pkgver=1.16
+pkgrel=7
+pkgdesc="Commandline option parser (32 bit)"
+arch=('x86_64')
+url="http://rpm5.org"
+license=('custom')
+depends=('lib32-glibc' "${_pkgbase}")
+source=(${url}/files/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz)
+sha256sums=('e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8')
+
+build() {
+  export CC="gcc -m32"
+
+  cd ${_pkgbase}-${pkgver}
+  ./configure --prefix=/usr --libdir=/usr/lib32 --disable-nls
+  make
+}
+
+package() {
+  cd ${_pkgbase}-${pkgver}
+  make DESTDIR="${pkgdir}" pkgconfigdir='/usr/lib32/pkgconfig' install
+
+  rm -rf "${pkgdir}"/usr/{include,share}
+  install -dm755 "${pkgdir}"/usr/share/licenses
+  ln -s ${_pkgbase} "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list