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

Felix Yan felixonmars at archlinux.org
Fri Mar 20 16:19:27 UTC 2020


    Date: Friday, March 20, 2020 @ 16:19:26
  Author: felixonmars
Revision: 601920

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 601919, lib32-keyutils/trunk/PKGBUILD)

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

Copied: lib32-keyutils/repos/multilib-testing-x86_64/PKGBUILD (from rev 601919, lib32-keyutils/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2020-03-20 16:19:26 UTC (rev 601920)
@@ -0,0 +1,33 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+_pkgbasename=keyutils
+pkgname=lib32-$_pkgbasename
+pkgver=1.6.1
+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=v${pkgver}?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