summaryrefslogtreecommitdiff
path: root/community/libclastfm/PKGBUILD
blob: 8c6b8cea87bc72e5af68c86f836eb257a9a801da (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
# $Id: PKGBUILD 99439 2013-10-28 21:06:50Z ttoepper $
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
pkgname=libclastfm
pkgver=0.5
pkgrel=2
pkgdesc="An unofficial C-API for the Last.fm web service"
arch=("i686" "x86_64" "mips64el")
url="http://liblastfm.sourceforge.net/"
license=('GPL')
depends=("curl")
source=("http://downloads.sourceforge.net/liblastfm/$pkgname-$pkgver.tar.gz")
sha1sums=('9e2fdd42b14c8c375b0cb4981eb11fc1aebeebf5')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

check() {
  cd "$srcdir/$pkgname-$pkgver"
  make -k check
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: