From 3c70097e5475d1889ba283ac132b58869b187dfd Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 25 Jun 2017 11:32:31 +0200 Subject: [PATCH] clerk: fix template - add missing noarch and conf_files - clerk_helper is a Python 3 file, so it needs python3-mpd2 --- srcpkgs/clerk/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/clerk/template b/srcpkgs/clerk/template index 44a34126650..bfc7ab23ba5 100644 --- a/srcpkgs/clerk/template +++ b/srcpkgs/clerk/template @@ -1,9 +1,11 @@ # Template file for 'clerk' pkgname=clerk version=3.2 -revision=1 +revision=2 +noarch=yes build_style=gnu-makefile -depends="bash rofi mpc>0.26 python-mpd2 perl" +conf_files="/etc/clerk.conf" +depends="bash rofi mpc python3-mpd2 perl" short_desc="MPD client using bash and rofi" maintainer="ibrokemypie " license="MIT" @@ -11,6 +13,9 @@ homepage="https://github.com/carnager/clerk/" distfiles="https://github.com/carnager/clerk/archive/${version}.tar.gz" checksum=13ccdee926393942a2be697fc44d17e907f2a903522b843658607876e861dcf6 +pre_build() { + sed -i 's|share/doc/clerk/config.example|share/examples/clerk/config.example|' Makefile +} post_install() { vlicense LICENSE }