David Runge pushed to branch main at Arch Linux / Packaging / Packages / chrony


Commits:
b08eeba2 by loqs at 2024-05-25T16:20:18+00:00
Set version when building from git.

Create version.txt with the value of $pkgver.
Fixes 
https://gitlab.archlinux.org/archlinux/packaging/packages/chrony/-/issues/4.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -41,6 +41,7 @@ prepare() {
     -e 's|server baz.example.net|server 3.arch.pool.ntp.org|g' \
     examples/chrony.conf.example*
   sed 's|/usr/sbin|/usr/bin|g' -i examples/*.service
+  echo $pkgver > version.txt
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/chrony/-/commit/b08eeba28285338020644f2fac503301442c7c1b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/chrony/-/commit/b08eeba28285338020644f2fac503301442c7c1b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to