def pre_build(): aur_pre_build('pnglatex', maintainers=['Phaotee']) for line in edit_file('PKGBUILD'): if line.startswith('pkgname='): line += '-git' print(line)
def pre_build(): aur_pre_build() for line in edit_file('PKGBUILD'): if 'groups=' in line: continue print(line)
def pre_build(): aur_pre_build('pcem',maintainers=['aaronp']) for line in edit_file('PKGBUILD'): if line.startswith('depends'): line = line.replace('wxgtk2', 'wxgtk3') print(line)
def pre_build(): aur_pre_build() for line in edit_file('PKGBUILD'): print(line) if 'makedepends' in line: # https://bugs.square-r00t.net/index.php?do=details&task_id=47 print("options+=('!makeflags')")
def pre_build(): aur_pre_build('libblocksruntime',maintainers=['Zrax']) for line in edit_file('PKGBUILD'): if line.startswith('depends'): line = line.replace('depends', 'makedepends') print(line)
def pre_build(): aur_pre_build('clipit') for line in edit_file('PKGBUILD'): if line.startswith('depends'): line = line.replace('gtk2', 'gtk3') print(line)
def pre_build(): aur_pre_build() for line in edit_file('PKGBUILD'): if 'provides=' in line: print(line.replace("'nextcloud'", '"nextcloud=$pkgver"')) else: print(line)
def pre_build(): aur_pre_build() for line in edit_file('PKGBUILD'): if line.startswith('groups='): continue if line.startswith('pkgver='): print('epoch=1') print(line)
def pre_build(): aur_pre_build('syncthingtray') for line in edit_file('PKGBUILD'): if line.startswith('pkgname='): line = line.replace('syncthingtray', 'syncthingtray-nowebview') elif line.startswith('_webview_provider'): line = line.replace('webengine', 'none') print(line)
def pre_build(): aur_pre_build() for line in edit_file('PKGBUILD'): # makechrootpkg has a bug - if a package that creates user(s) is fed # via -I, makepkg in the chroot fails to run as the newly created user # might have the same UID (1000) as builduser, and thus the NOPASSWD # line for builduser in /etc/sudoers has no effects. if line.startswith('depends='): line = line.replace('amule-dlp', 'wxgtk') print(line) add_makedepends(['git'])
def pre_build(): aur_pre_build('gcc10', maintainers=['jonathon']) for line in edit_file('PKGBUILD'): if 'sed -i' in line and 'gcc/configure' in line: print(line) print("sed -i '/HAVE_LIMITS_H/d' libiberty/fibheap.c\n") print("sed -i -e '/limits.h/{n;d}' libiberty/fibheap.c\n") print("sed -i '/HAVE_FCNTL_H/d' libiberty/pex-unix.c\n") print("sed -i -e '/fcntl.h/{n;d}' libiberty/pex-unix.c\n") else: print(line)
def pre_build(): aur_pre_build() add_makedepends(['wayland-protocols'])
def pre_build(): aur_pre_build() add_makedepends(['git'])
def pre_build(): aur_pre_build() add_makedepends(['lxqt-build-tools-git'])
def pre_build(): aur_pre_build() for line in edit_file('PKGBUILD'): if line.startswith('depends='): line = 'depends=(\'wine\')' print(line)
def pre_build(): update_pkgrel() aur_pre_build()
def pre_build(): aur_pre_build() # wget for ./bootstrap and doxygen/pandoc for building docs add_makedepends(['wget', 'doxygen', 'pandoc'])