diff --git a/repo/shntool/lilac.py b/repo/shntool/lilac.py new file mode 100644 index 0000000..648bd5a --- /dev/null +++ b/repo/shntool/lilac.py @@ -0,0 +1,9 @@ +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) diff --git a/repo/shntool/lilac.yaml b/repo/shntool/lilac.yaml new file mode 100644 index 0000000..f398407 --- /dev/null +++ b/repo/shntool/lilac.yaml @@ -0,0 +1,11 @@ +maintainers: + - github: yingziwu + email: i@bgme.me + +build_prefix: extra-x86_64 + +post_build: aur_post_build + +update_on: + - source: aur + aur: shntool