Merge pull request #8421 from maxice8/clerk

clerk: update to 4.0.0.
This commit is contained in:
Juan RP 2017-10-21 08:29:49 +02:00 committed by GitHub
commit a4d489f728
6 changed files with 81 additions and 10 deletions

View File

@ -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

View File

@ -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 <ibrokemypie@bastardi.net>"
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
}

View File

@ -0,0 +1,15 @@
# Template file for 'perl-Config-Simple'
pkgname=perl-Config-Simple
version=4.58
revision=1
wrksrc="${pkgname/perl-//}-${version}"
build_style=perl-module
hostmakedepends="perl"
makedepends="perl"
depends="perl"
short_desc="Config::Simple - simple configuration file class"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="Unknown"
homepage="https://search.cpan.org/dist/Config-Simple/"
distfiles="${CPAN_SITE}/Config/Config-Simple-${version}.tar.gz"
checksum=dd9995706f0f9384a15ccffe116c3b6e22f42ba2e58d8f24ed03c4a0e386edb4

View File

@ -0,0 +1,15 @@
# Template file for 'perl-Data-MessagePack'
pkgname=perl-Data-MessagePack
version=1.00
revision=1
wrksrc="${pkgname/perl-//}-${version}"
build_style=perl-module
hostmakedepends="perl"
makedepends="perl"
depends="perl"
short_desc="Data::MessagePack - MessagePack serializing/deserializing"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="Artistic, GPL-1"
homepage="https://search.cpan.org/dist/Data-MessagePack"
distfiles="${CPAN_SITE}/Data/Data-MessagePack-${version}.tar.gz"
checksum=c9f0eeaf56ee4dfd509eccba2dd838921aebdf186ba60de166443ffc4b0ba1a2

View File

@ -0,0 +1,15 @@
# Template file for 'perl-File-Slurper'
pkgname=perl-File-Slurper
version=0.010
revision=1
wrksrc="${pkgname/perl-//}-${version}"
build_style=perl-module
hostmakedepends="perl"
makedepends="perl"
depends="perl"
short_desc="File::Slurper - A simple, sane and efficient module to slurp a file"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="Aristic, GPL-1"
homepage="search.cpan.org/dist/File-Slurper"
distfiles="${CPAN_SITE}/File/File-Slurper-${version}.tar.gz"
checksum=a393364648c9d6be938e8a68c3094c5f8a37b19d3159141ec81ba49559343c16

View File

@ -0,0 +1,19 @@
# Template file for 'perl-Net-MPD'
pkgname=perl-Net-MPD
version=0.07
revision=1
wrksrc="${pkgname/perl-//}-${version}"
build_style=perl-ModuleBuild
hostmakedepends="perl perl-Module-Build-Tiny"
makedepends="perl"
depends="perl mpd"
short_desc="Net::MPD - Communicate with an MPD server"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://search.cpan.org/dist/Net-MPD"
distfiles="${CPAN_SITE}/Net/Net-MPD-${version}.tar.gz"
checksum=3382fb9c6f5c25de2628f5614429fa8a00791521678c42da068c99e7b294e953
post_install() {
vlicense LICENSE
}