# Maintainer: Konstantin Gizdov <arch@kge.pw>
# Contributor: Alad Wenter <alad@mailbox.org>
# Contributor: Thorsten Töpper <atsutane-tu@freethoughts.de>
pkgname=libclastfm
pkgver=0.5
pkgrel=6
pkgdesc="An unofficial C-API for the Last.fm web service"
arch=("x86_64")
url="http://liblastfm.sourceforge.net/"
license=('GPL')
depends=("curl")
source=("https://downloads.sourceforge.net/liblastfm/$pkgname-$pkgver.tar.gz")
sha256sums=('c9aa7817b557f8d8ef834755740fc813f9351f3185b5bdf4de249bee3675ee42')

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

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

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

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