lilac/repo/shntool/lilac.py
2023-05-16 15:01:11 +08:00

10 lines
281 B
Python

from lilaclib import *
def pre_build():
aur_pre_build()
for line in edit_file('PKGBUILD'):
if line.startswith('source=('):
line = 'source=("http://www.slackware.com/~alien/slackbuilds/${pkgname}/build/${pkgname}-${pkgver}.tar.gz"'
print(line)