blob: e364693f4383cac0b3478a9d34e2675e39ac8c24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
# Contributor: sekret
_pkgname=clyrics
pkgname=$_pkgname-git
pkgver=0.08.4.g78aa3d7
pkgrel=1
pkgdesc="An extensible lyrics fetcher, with daemon support for cmus and mocp."
url="https://github.com/trizen/clyrics"
arch=('any')
license=('GPL3')
depends=('perl-www-mechanize' 'perl-io-html' 'perl-lwp-protocol-https')
makedepends=('git')
optdepends=('moc: daemon support for moc player'
'cmus: daemon support for cmus player')
provides=("$_pkgname")
conflicts=("$_pkgname")
install='readme.install'
source=("$_pkgname::git+https://github.com/trizen/clyrics.git")
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --always | sed -e 's|-|.|g'
}
package() {
cd "$_pkgname"
install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname"
cd plugins
for i in *
do
install -Dm644 "$i" "$pkgdir/usr/share/$_pkgname/$i"
done
}
# vim:set ts=2 sw=2 et:
|