diff --git a/srcpkgs/snixembed/template b/srcpkgs/snixembed/template index c39b2feb916..bc8c37948a8 100644 --- a/srcpkgs/snixembed/template +++ b/srcpkgs/snixembed/template @@ -1,6 +1,6 @@ # Template file for 'snixembed' pkgname=snixembed -version=0.2.2 +version=0.3.0 revision=1 build_style=gnu-makefile make_use_env=yes @@ -11,14 +11,7 @@ maintainer="projectmoon " license="ISC" homepage="https://git.sr.ht/~steef/snixembed" distfiles="${homepage}/archive/${version}.tar.gz" -checksum=91e654ced9c09f2c566afef2035894be6c99d18189a234a07b6c921427851a04 - -pre_build() { - # Need to patch makefile with version because currently it - # assumes it's in a git repo. - vsed -i makefile -e 's/version.vala:.*/version.vala:/g' - vsed -i makefile -e 's/VERSION = .*$/VERSION = \\"'"${version}"'\\";\" > $@/g' -} +checksum=7f49fcd891ffa58be8b7e387a73cfd5b98a354aad3af1c76d9960a07cd92340e post_install() { vlicense LICENSE diff --git a/srcpkgs/snixembed/update b/srcpkgs/snixembed/update new file mode 100644 index 00000000000..317672d2239 --- /dev/null +++ b/srcpkgs/snixembed/update @@ -0,0 +1,2 @@ +site="https://git.sr.ht/%7Esteef/snixembed/refs" +pattern="snixembed/refs/\K[.\d]+(?=\")"