Skip to content

harden aur_pre_build (#2228) #4294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion alarmcn/daed/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ maintainers:
email: horeamxiao@archlinuxcn.org

pre_build_script: |
aur_pre_build()
aur_pre_build(maintainers=['Integral', 'lilac', 'mzz2017', 'cubercsl'])
add_makedepends(['nodejs'])
post_build: aur_post_build

Expand Down
2 changes: 1 addition & 1 deletion alarmcn/ddns-go/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ maintainers:
- github: xiaohuirong
email: horeamxiao@archlinuxcn.org

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['evine'])
post_build: aur_post_build

update_on:
Expand Down
2 changes: 1 addition & 1 deletion alarmcn/ffmpeg-audio-thumbnailer/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ maintainers:
- github: xiaohuirong
email: horeamxiao@archlinuxcn.org

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['saltedcoffii'])
post_build: aur_post_build

update_on:
Expand Down
2 changes: 1 addition & 1 deletion alarmcn/firefox-gnome-theme/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ maintainers:
- github: xiaohuirong
email: horeamxiao@archlinuxcn.org

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['FunctionalHacker', 'ffgnometheme_ci'])
post_build: aur_post_build

update_on:
Expand Down
2 changes: 1 addition & 1 deletion alarmcn/syshud/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ maintainers:
email: horeamxiao@archlinuxcn.org

pre_build_script: |
aur_pre_build()
aur_pre_build(maintainers=['system64'])
add_makedepends(['git'])
add_depends(['libevdev'])
post_build: aur_post_build
Expand Down
2 changes: 1 addition & 1 deletion alarmcn/sysmenu/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ maintainers:
email: horeamxiao@archlinuxcn.org

pre_build_script: |
aur_pre_build()
aur_pre_build(maintainers=['system64'])
add_makedepends(['git'])
post_build: aur_post_build

Expand Down
2 changes: 1 addition & 1 deletion alarmcn/wayfire-plugins-extra-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ maintainers:
- github: xiaohuirong
email: horeamxiao@archlinuxcn.org

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['kode54'])
post_build: aur_post_build

update_on:
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/abcde/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build_prefix: extra-x86_64
repo_depends:
- cd-discid

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['FabioLolix', 'arojas'])

post_build: aur_post_build

Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/beancount/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from lilac2.api import *

def pre_build():
aur_pre_build()
aur_pre_build(maintainers=['wzyboy'])
for l in edit_file('PKGBUILD'):
if l.startswith('conflicts='):
l += '\nmakedepends=(python-setuptools)'
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/cd-discid/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ maintainers:

build_prefix: extra-x86_64

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['FabioLolix', 'arojas'])

post_build: aur_post_build

Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/china-ip-list-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ maintainers:

build_prefix: extra-x86_64

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['felixonmars'])

post_build: aur_post_build

Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/chnroutes-alike-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ maintainers:

build_prefix: extra-x86_64

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['felixonmars'])

post_build: aur_post_build

Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/chnroutes2-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ maintainers:

build_prefix: extra-x86_64

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['felixonmars'])

post_build: aur_post_build

Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/cloudflarespeedtest/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ maintainers:
- github: qwIvan
email: ivanngonline@hotmail.com
build_prefix: extra-x86_64
pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['ZhangHua'])
post_build: aur_post_build
update_on:
- source: aur
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/ddns-go/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ maintainers:
email: horeamxiao@archlinuxcn.org

build_prefix: extra-x86_64
pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['evine'])
post_build: aur_post_build

update_on:
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/dnsmasq-china-list-git/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def pre_build():
if str(datetime.datetime.now())[:8] < '20180604':
run_cmd('rm -rf dnsmasq-china-list'.split(' '))

aur_pre_build()
aur_pre_build(maintainers=['felixonmars', 'lilac'])

#post_build = aur_post_build

Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/dnsmasq-china-list-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ maintainers:

build_prefix: extra-x86_64

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['felixonmars', 'lilac'])

post_build: aur_post_build

Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/downgrade/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ maintainers:

build_prefix: extra-x86_64

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['brisbin33', 'atreyasha'])

post_build: aur_post_build

Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/ffmpeg-audio-thumbnailer/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ maintainers:
email: horeamxiao@archlinuxcn.org

build_prefix: extra-x86_64
pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['saltedcoffii'])
post_build: aur_post_build

update_on:
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/firefox-gnome-theme/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ maintainers:
email: horeamxiao@archlinuxcn.org

build_prefix: extra-x86_64
pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['FunctionalHacker', 'ffgnometheme_ci'])
post_build: aur_post_build

update_on:
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/go-for-it-git/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

def pre_build():
run_cmd(["rm", "-rf", "go-for-it-git"])
aur_pre_build()
aur_pre_build(maintainers=['btd1337'])
for line in edit_file('PKGBUILD'):
if line.startswith('makedepends'):
line = "makedepends=('vala' 'git' 'cmake' 'intltool')"
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/go-musicfox-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ maintainers:
email: horeamx@gmail.com

build_prefix: extra-x86_64
pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['Hoream'])
post_build: aur_post_build

update_on:
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/hustmirror-cli/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ maintainers:

build-prefix: extra-x86_64

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['TurtleRuss'])
post_build: aur_post_build

update_on:
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/java-service-wrapper/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#post_build = aur_post_build

def pre_build():
aur_pre_build()
aur_pre_build(maintainers=['Salama'])
for line in edit_file('PKGBUILD'):
if "java-environment>=" in line:
line = line.replace("java-environment>=8","jdk8-openjdk")
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/js-beautify/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from lilaclib import *

build_prefix = 'extra-x86_64'
pre_build = aur_pre_build
pre_build_script = aur_pre_build(maintainers=['C0rn3j'])
post_build = aur_post_build

if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/js-beautify/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ build_prefix: extra-x86_64
update_on:
- source: aur
aur: js-beautify
pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['C0rn3j'])
post_build: aur_post_build
2 changes: 1 addition & 1 deletion archlinuxcn/kmozillahelper/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from lilaclib import *

build_prefix = 'extra-x86_64'
pre_build = aur_pre_build
pre_build_script = aur_pre_build(maintainers=['fordprefect'])
post_build = aur_post_build

if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/kmozillahelper/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ build_prefix: extra-x86_64
update_on:
- source: aur
aur: kmozillahelper
pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['fordprefect'])
post_build: aur_post_build
2 changes: 1 addition & 1 deletion archlinuxcn/libnatspec/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from lilaclib import *

build_prefix = 'extra-x86_64'
pre_build = aur_pre_build
pre_build_script = aur_pre_build(maintainers=['natrio'])
post_build = aur_post_build

if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/libnatspec/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ build_prefix: extra-x86_64
update_on:
- source: aur
aur: libnatspec
pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['natrio'])
post_build: aur_post_build
2 changes: 1 addition & 1 deletion archlinuxcn/lilac-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repo_depends:
- pid_children-git
- python-fluent.runtime

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['malacology', 'yan12125', 'lilydjwg'])

post_build: aur_post_build

Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/linux-cachyos-lts/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from lilaclib import run_cmd

def pre_build():
aur_pre_build()
aur_pre_build(maintainers=['ptr1337', 'sir_lucjan'])
in_nvidia_open = False
for line in edit_file("PKGBUILD"):
if "_build_nvidia_open:=no" in line:
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/minecraft-launcher/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ build_prefix: extra-x86_64
update_on:
- source: aur
aur:
pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['pschichtel'])
post_build: aur_post_build
2 changes: 1 addition & 1 deletion archlinuxcn/minecraft-server/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from lilaclib import *

build_prefix = 'extra-x86_64'
pre_build = aur_pre_build
pre_build_script = aur_pre_build(maintainers=['edh'])
post_build = aur_post_build

if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/minecraft-server/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ build_prefix: extra-x86_64
update_on:
- source: aur
aur: minecraft-server
pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['edh'])
post_build: aur_post_build
2 changes: 1 addition & 1 deletion archlinuxcn/netease-cloud-music-gtk4/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ maintainers:

build_prefix: extra-x86_64

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['tkit', 'AutoUpdateBot'])

post_build: aur_post_build

Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/p7zip-natspec/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from lilaclib import *

build_prefix = 'extra-x86_64'
pre_build = aur_pre_build
pre_build_script = aur_pre_build(maintainers=['buzztaiki'])
post_build = aur_post_build

if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/p7zip-natspec/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build_prefix: extra-x86_64
update_on:
- source: aur
aur: p7zip-natspec
pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['buzztaiki'])
post_build: aur_post_build
repo_depends:
- libnatspec
2 changes: 1 addition & 1 deletion archlinuxcn/pacman-pstatus/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ maintainers:

build_prefix: extra-x86_64

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['renyuneyun'])

post_build: aur_post_build

Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/pacman-static/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


def pre_build():
aur_pre_build()
aur_pre_build(maintainers=['Morganamilo', 'andreas_baumann'])
run_cmd(["iconv", "-f", "iso-8859-1", "-t", "utf-8", "PKGBUILD", "-o", "PKGBUILD"])
for line in edit_file("PKGBUILD"):
if "tm@t8m.info" in line:
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/pip-tools/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ maintainers:
- github: qwIvan
email: ivanngonline@hotmail.com
build_prefix: extra-x86_64
pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['SpotlightKid'])
post_build: aur_post_build
update_on:
- source: aur
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/ptpython/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ maintainers:
- github: qwIvan
email: ivanngonline@hotmail.com
build_prefix: extra-x86_64
pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['kwrazi'])
post_build: aur_post_build
update_on:
- source: aur
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/python-habanero/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def pre_build():
aur_pre_build()
aur_pre_build(maintainers=['gesh'])
for line in edit_file('PKGBUILD'):
if 'python-bibtexparser>=2.0.0b5' in line:
continue
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/python-pygresql/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
build_prefix = "extra-x86_64"

def pre_build():
aur_pre_build()
aur_pre_build(maintainers=['beeender'])

def post_build():
aur_post_build()
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/python-pywavelets/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ maintainers:

build_prefix: extra-x86_64

pre_build: aur_pre_build
pre_build_script: aur_pre_build(maintainers=['carlosal1015', 'AutoUpdateBot'])

post_build: aur_post_build

Expand Down
Loading