From 5a29597f9a6e2f4b2035a112545792cc48ad7979 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Wed, 23 Sep 2015 00:55:39 -0500 Subject: systemd: armv7h port --- libre/systemd/PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'libre') diff --git a/libre/systemd/PKGBUILD b/libre/systemd/PKGBUILD index dff535123..9f808e2c1 100644 --- a/libre/systemd/PKGBUILD +++ b/libre/systemd/PKGBUILD @@ -6,12 +6,13 @@ pkgbase=systemd pkgname=systemd pkgver=226 pkgrel=1.parabola1 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'armv7h') url="http://www.freedesktop.org/wiki/Software/systemd" makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'intltool' 'iptables' 'kmod' 'libcap' 'libidn' 'libgcrypt' 'libmicrohttpd' 'libxslt' 'util-linux' 'linux-libre-api-headers' - 'python-lxml' 'quota-tools' 'shadow' 'gnu-efi-libs' 'git') + 'python-lxml' 'quota-tools' 'shadow' 'git') +[ "$CARCH" != "armv7h" ] && makedepends+=('gnu-efi-libs') options=('strip' 'debug') source=("git://github.com/systemd/systemd.git#tag=v$pkgver" "https://repo.parabola.nu/other/systemd/splash-parabola.bmp" @@ -50,19 +51,21 @@ build() { local timeservers=({0..3}.arch.pool.ntp.org) + [ "$CARCH" != "armv7h" ] && extra=--enable-gnuefi + ./configure \ --libexecdir=/usr/lib \ --localstatedir=/var \ --sysconfdir=/etc \ --enable-lz4 \ --enable-compat-libs \ - --enable-gnuefi \ --disable-audit \ --disable-ima \ --disable-kdbus \ --with-sysvinit-path= \ --with-sysvrcnd-path= \ - --with-ntp-servers="${timeservers[*]}" + --with-ntp-servers="${timeservers[*]}" \ + $extra make } -- cgit v1.2.3-2-g168b