summaryrefslogtreecommitdiff
path: root/community/libclastfm/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-16 00:01:25 +0000
committerroot <root@rshg054.dnsready.net>2012-06-16 00:01:25 +0000
commit94fa10f3a918892a08707aa27eb32a83a4959879 (patch)
tree27111dcbae78f85f5016ac49dd08eff5f7e976c0 /community/libclastfm/PKGBUILD
parent0f99ce5b4d8585285835a277dcbdaf1493d00635 (diff)
Sat Jun 16 00:01:25 UTC 2012
Diffstat (limited to 'community/libclastfm/PKGBUILD')
-rw-r--r--community/libclastfm/PKGBUILD31
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:
+