diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-06-18 17:35:05 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-06-18 17:35:05 -0300 |
commit | 743408e2293a3c2dde0f83ad2ad7a176913ddeda (patch) | |
tree | 999f684c40ba1ea381e74343d5e600e9a31d27e6 /community/libclastfm | |
parent | cf434d4293732a4939b1fd1496597396500d4b0a (diff) | |
parent | b93deb686e23603e67eee07fced30237db47c367 (diff) |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre-mips64el
Diffstat (limited to 'community/libclastfm')
-rw-r--r-- | community/libclastfm/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/libclastfm/PKGBUILD b/community/libclastfm/PKGBUILD new file mode 100644 index 000000000..b566ae17a --- /dev/null +++ b/community/libclastfm/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 72448 2012-06-14 16:10:56Z ttopper $ +# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> +pkgname=libclastfm +pkgver=0.5 +pkgrel=1 +pkgdesc="An unofficial C-API for the Last.fm web service" +arch=("i686" "x86_64") +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: + |