From 974d8fc9f1bc1a8942d3b434c4f0e3b1bbb48859 Mon Sep 17 00:00:00 2001 From: s3lph Date: Fri, 19 Oct 2018 22:25:47 +0200 Subject: [PATCH] Fixed: Makepkg can't install dependencies as nobody. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index da43306..211851a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -84,7 +84,7 @@ build_archlinux: stage: build image: base/devel:latest # Use an archlinux image instead of the customized debian image. script: - - pacman -Sy --noconfirm python python-setuptools python-pip python-wheel + - pacman -Sy --noconfirm python python-setuptools python-pip python-wheel python-jinja python-pillow python-magic file - export MATEMAT_VERSION=$(python -c 'import matemat; print(matemat.__version__)') - cp -r static/ package/archlinux/matemat/usr/lib/matemat/static/ - cp -r templates/ package/archlinux/matemat/usr/lib/matemat/templates/ @@ -93,7 +93,7 @@ build_archlinux: - mv matemat/usr/bin/matemat matemat/usr/lib/matemat/matemat - rm -rf matemat/usr/bin - sed -re "s/__VERSION__/${MATEMAT_VERSION}/g" -i PKGBUILD - - sudo -u nobody makepkg --syncdeps + - sudo -u nobody makepkg - mv matemat-${MATEMAT_VERSION}-1-any.pkg.tar.xz "matemat-${MATEMAT_VERSION}+${CI_COMMIT_REF_NAME}-1-any.pkg.tar.xz" artifacts: paths: