summaryrefslogtreecommitdiff
path: root/libre/systemd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/systemd/PKGBUILD')
-rw-r--r--libre/systemd/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
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
}