Waybar: add update file, fix clean-up.

- It was finding weird matches.
- Clean-up was leaving the date library around.
This commit is contained in:
Érico Rolim 2020-06-17 16:15:37 -03:00 committed by Danh Doan
parent 6a526e8646
commit deda506dd2
2 changed files with 6 additions and 2 deletions

View file

@ -2,6 +2,8 @@
pkgname=Waybar
version=0.9.2
revision=1
create_wrksrc=yes
build_wrksrc=${pkgname}-${version}
build_style=meson
configure_args="-Dgtk-layer-shell=enabled -Dlibudev=enabled -Dman-pages=enabled
-Dsystemd=disabled
@ -37,8 +39,8 @@ desc_option_libnl="Enable libnl support for network related features"
desc_option_dbusmenugtk="Enable support for tray"
desc_option_mpd="Enable support for MPD"
pre_configure() {
cp -rv ../date-2.4.1 subprojects/
post_extract() {
mv date-2.4.1 ${build_wrksrc}/subprojects/
}
post_install() {

2
srcpkgs/Waybar/update Normal file
View file

@ -0,0 +1,2 @@
site="https://github.com/Alexays/Waybar/releases"
pattern='"/Alexays/Waybar/tree/\K[\d.]+(?=")'