From 675a0db3bfd47b5215382b3158bac25d00885834 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 21 Oct 2017 01:38:53 -0200 Subject: [PATCH] clerk: update to 4.0.0. --- srcpkgs/clerk/INSTALL.msg | 5 +++++ srcpkgs/clerk/template | 22 ++++++++++++---------- 2 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 srcpkgs/clerk/INSTALL.msg diff --git a/srcpkgs/clerk/INSTALL.msg b/srcpkgs/clerk/INSTALL.msg new file mode 100644 index 00000000000..71452afdbdb --- /dev/null +++ b/srcpkgs/clerk/INSTALL.msg @@ -0,0 +1,5 @@ +Clerk requires extra configuration to be done. + +1. Copy the files from /usr/share/examples/clerk to ~/.config/clerk +2. edit ~/.config/clerk/clerk.conf to your likings, specially database= +and tmux_config= that have PLACEHOLDER diff --git a/srcpkgs/clerk/template b/srcpkgs/clerk/template index a8018fcd15c..14574dbc635 100644 --- a/srcpkgs/clerk/template +++ b/srcpkgs/clerk/template @@ -1,21 +1,23 @@ # Template file for 'clerk' pkgname=clerk -version=3.2.1 +version=4.0.0 revision=1 noarch=yes -build_style=gnu-makefile -conf_files="/etc/clerk.conf" -depends="bash rofi mpc python3-mpd2 perl" -short_desc="MPD client using bash and rofi" +depends="rofi fzf tmux mpc perl-Net-MPD perl-Data-MessagePack perl-File-Slurper +perl-Config-Simple perl-Try-Tiny perl-IPC-Run perl-HTTP-Date" +short_desc="MPD client written in Perl using rofi or fzf" maintainer="ibrokemypie " license="MIT" homepage="https://github.com/carnager/clerk/" distfiles="https://github.com/carnager/clerk/archive/${version}.tar.gz" -checksum=954a388cce5a86c1760e130febc59b533651a01938b0c9a6b1f4941dda83db97 +checksum=150faa960677169f7bdf783d10b9a5943c835e36af31b29be4c1034c311f3bc4 + +do_install() { + vbin clerk.pl clerk + vbin clerk_rating_client + + vsconf clerk.conf + vsconf clerk.tmux -pre_build() { - sed -i 's|share/doc/clerk/config.example|share/examples/clerk/config.example|' Makefile -} -post_install() { vlicense LICENSE }