snixembed: update to 0.3.0.

This commit is contained in:
projectmoon 2020-06-10 19:49:42 +00:00 committed by Helmut Pozimski
parent 04179ad474
commit 1e8318b754
2 changed files with 4 additions and 9 deletions

View File

@ -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 <projectmoon@agnos.is>"
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

2
srcpkgs/snixembed/update Normal file
View File

@ -0,0 +1,2 @@
site="https://git.sr.ht/%7Esteef/snixembed/refs"
pattern="snixembed/refs/\K[.\d]+(?=\")"