summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3f05799f9cd2c19ed863a1f75e852a1c961386d6 (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
# Contributor: Rasi <rasi13@gmx.de>
# Contributor: archistic <archistic AT archlinux.org>
# Maintainer: archistic <archistic AT archlinux.org>
# Maintainer: Simon Legner <Simon.Legner@gmail.com>

pkgname=scrobby-git
_pkgname=scrobby
pkgver=20131023
pkgrel=1
pkgdesc="C++ last.fm Client for MPD"
arch=('i686' 'x86_64')
url="https://github.com/wor/scrobby"
license=('GPL2')
depends=('curl' 'openssl')
install=scrobby.install
makedepends=('git')
options=(!strip)
# Using a fork for the source, since the original does not compile
source=("$_pkgname::git+https://github.com/wor/scrobby.git")
sha512sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  git log -n1 --format=%cs | tr -d -
}

build() {
  cd "$srcdir/$_pkgname"
  ./autogen.sh --prefix=/usr
  make
}

package() {
  cd "$srcdir/$_pkgname"
  make DESTDIR="$pkgdir/" install
}