We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ec3b13 commit 83aed32Copy full SHA for 83aed32
archlinuxcn/goldendict-ng/lilac.py
@@ -0,0 +1,12 @@
1
+#!/usr/bin/python3
2
+
3
+from lilaclib import *
4
5
+def pre_build():
6
+ substrings = _G.newver.split('-Release.')
7
+ for line in edit_file('PKGBUILD'):
8
+ if line.startswith('_commit_id='):
9
+ line = f'_commit_id={substrings[1]}'
10
+ print(line)
11
12
+ update_pkgver_and_pkgrel(substrings[0])
archlinuxcn/goldendict-ng/lilac.yaml
@@ -2,7 +2,6 @@ maintainers:
- github: Integral-Tech
email: integral@archlinuxcn.org
-pre_build_script: update_pkgver_and_pkgrel(_G.newver.split('-')[0])
post_build_script: git_pkgbuild_commit()
repo_depends:
0 commit comments