author | David Runge
<dvzrv@archlinux.org> 2024-02-21 11:23:54 UTC |
committer | David Runge
<dvzrv@archlinux.org> 2024-02-21 11:23:54 UTC |
parent | a96abbe6f4e931e9394e654becb59fc976dae3fb |
PKGBUILD | +5 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index b493b02..5633872 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -46,6 +46,11 @@ b2sums=('SKIP' 'a7cf564f31c471440310c3e3a11eac143ad1df100c8bb7bde9096b83711846878b4842742b050cc293b337b6284d28959ef3446d2be5337a74faac7bfcf74206' 'e39e1353fdc22f7d93b6f89f8242fafddd56422a03df1cb26e81a3874456c49029a3726b43223fe21231eff6fe240e1216f3dca36a0e5297c9c0d43ab390bcd9') +pkgver() { + cd $pkgname + git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g' +} + prepare() { # upstream does not provide a pkg-config integration: # https://github.com/steinbergmedia/vst3sdk/issues/68