blob: 07454a25cd0ed7ded12a17eb729051e03a9c2e4b (
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
|
# Maintainer: Troy Engel <troyengel+arch@gmail.com>
# Contributor: OK100 <ok100 at openmailbox dot org>
# Contributor: UltraDesu <arch@hexor.cy>
pkgname=cmusfm-git
pkgver=90.3a75712
pkgrel=1
pkgdesc="Last.fm scrobbler for cmus music player"
url="https://github.com/Arkq/cmusfm"
arch=('x86_64' 'i686')
license=('GPLv3')
depends=('cmus' 'curl' 'libnotify')
makedepends=('git')
conflicts=('cmusfm')
provides=('cmusfm')
install='cmusfm.install'
source=("$pkgname"::'git+https://github.com/Arkq/cmusfm.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cd "$srcdir/$pkgname"
autoreconf --install
./configure --prefix="$pkgdir/usr" --enable-libnotify
make
}
package() {
cd "$srcdir/$pkgname"
make install
}
|