Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aur-autobuild-mirror
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
aur-autobuild-mirror
Commits
9b91d046
There was an error fetching the commit references. Please try again later.
Commit
9b91d046
authored
2 years ago
by
Recolic
Browse files
Options
Downloads
Patches
Plain Diff
fix-docker-build-pikaur
parent
f92618e5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aur-sync.sh
+5
-4
5 additions, 4 deletions
aur-sync.sh
docker-pikaur/install-pikaur.sh
+1
-1
1 addition, 1 deletion
docker-pikaur/install-pikaur.sh
with
6 additions
and
5 deletions
aur-sync.sh
+
5
−
4
View file @
9b91d046
...
...
@@ -2,9 +2,9 @@
http_upstreams
=(
# http upstreams has no auto-update
'https://github.com/fphoenix88888/ttf-mswin10-arch/
raw/
master/ttf-ms-win10-zh_
cn
-10.0.1
8362.116-2
-any.pkg.tar.
x
z'
'https://github.com/fphoenix88888/ttf-mswin10-arch/
raw/
master/ttf-ms-win10-zh_
tw
-10.0.1
8362.116-2
-any.pkg.tar.
x
z'
'https://github.com/fphoenix88888/ttf-mswin10-arch/
raw/
master/ttf-ms-win10-10.0.1
8362.116-2
-any.pkg.tar.
x
z'
'https://
raw.
github
usercontent
.com/fphoenix88888/ttf-mswin10-arch/master/ttf-ms-win10-zh_
tw
-10.0.1
9043.1055-1
-any.pkg.tar.z
st
'
'https://
raw.
github
usercontent
.com/fphoenix88888/ttf-mswin10-arch/master/ttf-ms-win10-zh_
cn
-10.0.1
9043.1055-1
-any.pkg.tar.z
st
'
'https://
raw.
github
usercontent
.com/fphoenix88888/ttf-mswin10-arch/master/ttf-ms-win10-10.0.1
9043.1055-1
-any.pkg.tar.z
st
'
)
repo_upstreams
=(
# Take care of the tailing "/"!!!
...
...
@@ -35,6 +35,7 @@ aur_upstreams=(
gnome-terminal-transparency
shared-bootdir-helper
chrome-gnome-shell
oreo-cursors-git
)
build_outdir
=
"mirrors/recolic-aur"
...
...
@@ -46,7 +47,7 @@ function sync_aur () {
# Use the external loop to force pikaur to skip failed packages.
for
ele
in
"
${
aur_upstreams
[@]
}
"
;
do
# pikaur would skip if the package is already up-to-date.
sudo
docker run
-i
--cpus
1.2
--rm
-v
"
$(
pwd
)
/
mirrors/recolic-au
r"
:/home/builder/.cache/pikaur/pkg recolic/pikaur bash
-c
"chown builder -R /home/builder/.cache/pikaur/pkg && sudo -u builder pikaur -Syw --noconfirm
$ele
"
sudo
docker run
-i
--cpus
1.2
--rm
-v
"
$(
pwd
)
/
$build_outdi
r
"
:/home/builder/.cache/pikaur/pkg recolic/pikaur bash
-c
"chown builder -R /home/builder/.cache/pikaur/pkg && sudo -u builder pikaur -Syw --noconfirm
$ele
"
[[
$?
!=
0
]]
&&
echo
"WARNING: Failed to build
$ele
"
done
}
...
...
This diff is collapsed.
Click to expand it.
docker-pikaur/install-pikaur.sh
+
1
−
1
View file @
9b91d046
#!/bin/bash
pacman
-Sy
--noconfirm
git pyalpm python-commonmark
&&
pacman
-Sy
--noconfirm
git pyalpm python-commonmark
python-pip python-build python-installer python-setuptools python-markdown-it-py
&&
git clone https://aur.archlinux.org/pikaur.git
&&
chmod
777
-R
pikaur
&&
cd
pikaur
&&
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment