File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,17 @@ ssh-keyscan 95.216.144.15 >> .ssh/known_hosts
2020# Setup git
2121alias mygit=
" git -c user.name=Méril\ Pilon -c [email protected] " 2222mygit clone ssh://aur.archlinux.org/emacs-gcc-wayland-devel-bin.git
23- cd emacs-gcc-wayland-devel-bin
23+ mv emacs-gcc-wayland-devel-bin /home/pcr
24+ chown -R pcr:pcr /home/pcr/emacs-gcc-wayland-devel-bin
25+ cd /home/pcr/emacs-gcc-wayland-devel-bin
2426
2527# Amend package, set pkgver, sha512 sum and pkgrel + fix permissions
2628sed -i -r -e ' s~pkgver=.*~pkgver=' $PKG_VERSION ' ~' PKGBUILD
2729sed -i -r -e ' s~sha512sums=.*~sha512sums=\("' " $sum " ' "\)~' PKGBUILD
2830sed -i -r -e ' s/pkgrel=.*/pkgrel=1/' PKGBUILD
2931rm .SRCINFO
30- chown -R pcr:pcr .
3132su pcr -c " makepkg --printsrcinfo" > .SRCINFO
32- chown -R root:root .
33+ chown -R pcr:pcr .SRCINFO
3334
3435# Push changes
3536mygit add .SRCINFO PKGBUILD
You can’t perform that action at this time.
0 commit comments