lilac/repo/shntool/lilac.py

10 lines
281 B
Python
Raw Normal View History

2023-05-16 06:54:36 +00:00
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)