[arch-commits] Commit in lib32-systemd/repos (2 files)
Laurent Carlier
lcarlier at archlinux.org
Sun May 22 12:13:02 UTC 2016
Date: Sunday, May 22, 2016 @ 14:13:02
Author: lcarlier
Revision: 176092
archrelease: copy trunk to multilib-testing-x86_64
Added:
lib32-systemd/repos/multilib-testing-x86_64/
lib32-systemd/repos/multilib-testing-x86_64/PKGBUILD
(from rev 176091, lib32-systemd/trunk/PKGBUILD)
----------+
PKGBUILD | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 83 insertions(+)
Copied: lib32-systemd/repos/multilib-testing-x86_64/PKGBUILD (from rev 176091, lib32-systemd/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2016-05-22 12:13:02 UTC (rev 176092)
@@ -0,0 +1,83 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Tom Gundersen <teg at jklm.no>
+
+pkgname=lib32-systemd
+_pkgbasename=systemd
+pkgver=230
+pkgrel=1
+pkgdesc="system and service manager (32-bit)"
+arch=('x86_64')
+url="http://www.freedesktop.org/wiki/Software/systemd"
+license=('GPL2' 'LGPL2.1' 'MIT')
+depends=('lib32-libgcrypt' 'lib32-xz' 'lib32-libcap' 'lib32-acl' 'lib32-libidn' 'lib32-gcc-libs' 'systemd')
+makedepends=('lib32-gcc-libs' 'gcc-multilib' 'lib32-libidn' 'lib32-glib2' 'intltool' 'gperf'
+ 'lib32-curl' 'lib32-bzip2' 'git')
+source=("git://github.com/systemd/systemd.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+_backports=(
+)
+
+prepare() {
+ cd systemd
+
+ if (( ${#_backports[*]} > 0 )); then
+ git cherry-pick -n "${_backports[@]}"
+ fi
+
+ ./autogen.sh
+}
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd systemd
+
+ local timeservers=({0..3}.arch.pool.ntp.org)
+
+ local configure_options=(
+ --libexecdir=/usr/lib32
+ --libdir=/usr/lib32
+ --localstatedir=/var
+ --sysconfdir=/etc
+
+ --disable-audit
+ --disable-tests
+ --disable-ima
+ --disable-seccomp
+ --disable-pam
+ --disable-kmod
+ --disable-networkd
+ --disable-blkid
+ --disable-libiptc
+ --disable-lz4
+ --disable-manpages
+ --without-python
+
+ --with-sysvinit-path=
+ --with-sysvrcnd-path=
+ --with-ntp-servers="${timeservers[*]}"
+ --with-default-dnssec=no
+ --without-kill-user-processes
+ )
+ # --disable-libcryptsetup
+
+ ./configure "${configure_options[@]}"
+
+ make
+}
+
+package() {
+ cd systemd
+
+ make DESTDIR="$pkgdir" install
+
+ rm -rf "${pkgdir}"/{etc,var}
+ rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
+
+ install -m755 -d "${pkgdir}/usr/share/licenses"
+ ln -s systemd "$pkgdir/usr/share/licenses/lib32-systemd"
+}
More information about the arch-commits
mailing list