示例#1
0
def pre_build():
    aur_pre_build('clipit')

    for line in edit_file('PKGBUILD'):
        if line.startswith('depends'):
            line = line.replace('gtk2', 'gtk3')
        print(line)
示例#2
0
文件: lilac.py 项目: zhullyb/repo
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)
示例#3
0
def pre_build():
    aur_pre_build('pnglatex', maintainers=['Phaotee'])
    
    for line in edit_file('PKGBUILD'):
        if line.startswith('pkgname='):
            line += '-git'
        print(line)
示例#4
0
文件: lilac.py 项目: advaithm/repo
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)
示例#5
0
文件: lilac.py 项目: wpyok500/repo
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')")
示例#6
0
文件: lilac.py 项目: renyuneyun/repo
def pre_build():
    aur_pre_build()

    for line in edit_file('PKGBUILD'):
        if 'groups=' in line:
            continue
        print(line)
示例#7
0
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)
示例#8
0
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)
示例#9
0
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)
示例#10
0
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'])
示例#11
0
文件: lilac.py 项目: eailfly/repo
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)
示例#12
0
文件: lilac.py 项目: wfxr/archcn_repo
def pre_build():
    aur_pre_build()
    for line in edit_file('PKGBUILD'):
        if line.startswith('depends='):
            line = 'depends=(\'wine\')'
        print(line)