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

Christian Hesse eworm at archlinux.org
Thu Jul 9 14:27:16 UTC 2020


    Date: Thursday, July 9, 2020 @ 14:27:15
  Author: eworm
Revision: 661832

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-keyutils/repos/multilib-testing-x86_64/
  lib32-keyutils/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 661831, lib32-keyutils/trunk/PKGBUILD)

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

Copied: lib32-keyutils/repos/multilib-testing-x86_64/PKGBUILD (from rev 661831, lib32-keyutils/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2020-07-09 14:27:15 UTC (rev 661832)
@@ -0,0 +1,34 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+_pkgbasename=keyutils
+pkgname=lib32-$_pkgbasename
+_tag='5678a1aae8834b5c16b5ed7dc72ef8836a29e122' # git rev-parse v${pkgver}
+pkgver=1.6.3
+pkgrel=1
+pkgdesc='Linux Key Management Utilities (32-bit)'
+arch=('x86_64')
+url='https://www.kernel.org/'
+license=('GPL2' 'LGPL2.1')
+depends=('lib32-glibc' 'lib32-krb5' "${_pkgbasename}")
+makedepends=('git' 'gcc-multilib')
+validpgpkeys=('A86E54B0D5E1B4E0AB7C640FFBB7576BA7CB0B6B') # David Howells <dhowells at redhat.com>
+source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git#tag=${_tag}?signed")
+sha512sums=('SKIP')
+
+build() {
+  cd "${_pkgbasename}"
+  
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  sed -i -e 's/^\(USR\)\?LIBDIR\s*:=.*$/\1LIBDIR=\/usr\/lib32/' Makefile
+  make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+package() {
+  cd "${_pkgbasename}"
+  make DESTDIR="$pkgdir" install
+
+  rm -rf "${pkgdir}"/{usr/{include,share,bin,sbin},etc,{s,}bin}
+}


More information about the arch-commits mailing list