Skip to content

Commit

Permalink
Fixed build for Arch
Browse files Browse the repository at this point in the history
  • Loading branch information
gornostal committed Feb 26, 2019
1 parent eb5922f commit f03d1a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
15 changes: 6 additions & 9 deletions Dockerfile.build-arch
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
FROM base/archlinux
FROM archlinux/base

MAINTAINER ulauncher.app@gmail.com

WORKDIR /root/ulauncher
RUN useradd -ms /bin/sh kenny && \
pacman --noconfirm -Syu && \
pacman --noconfirm -S binutils python2 git grep openssh

RUN pacman --noconfirm -Syu && \
pacman --noconfirm -S \
python2 \
pkgbuild-introspection \
git \
grep \
openssh
WORKDIR /home/kenny
USER kenny
3 changes: 2 additions & 1 deletion build-utils/aur-update.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ def push_update(pkgbuild):
run_shell(('git', 'config', 'user.name', 'Aleksandr Gornostal'))
with open('PKGBUILD', 'w') as f:
f.write(pkgbuild)
run_shell(('mksrcinfo'))
with open('.SRCINFO', 'wb') as f:
run_shell(('makepkg', '--printsrcinfo'), stdout=f)
run_shell(('git', 'add', 'PKGBUILD', '.SRCINFO'))
run_shell(('git', 'commit', '-m', 'Version update %s' % version))
run_shell(('git', 'push', 'origin', 'master'), env=ssh_enabled_env)
Expand Down

0 comments on commit f03d1a8

Please sign in to comment.