summaryrefslogtreecommitdiffstats
path: root/main/mpdscribble/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2013-05-12 14:23:50 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2013-05-12 14:24:13 -0500
commitb48f2bd0ccdfd3306a1f9f38a5c9f20bff2832e6 (patch)
treea1266776472b008acf4dfa81306ce45722e09b58 /main/mpdscribble/APKBUILD
parent9375b360afbf90646eb93493101fbd9d67786936 (diff)
downloadaports-b48f2bd0ccdfd3306a1f9f38a5c9f20bff2832e6.tar.bz2
aports-b48f2bd0ccdfd3306a1f9f38a5c9f20bff2832e6.tar.xz
main/mpdscribble: new aport
Diffstat (limited to 'main/mpdscribble/APKBUILD')
-rw-r--r--main/mpdscribble/APKBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/main/mpdscribble/APKBUILD b/main/mpdscribble/APKBUILD
new file mode 100644
index 000000000..e2c4d9069
--- /dev/null
+++ b/main/mpdscribble/APKBUILD
@@ -0,0 +1,52 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=mpdscribble
+pkgver=0.22
+pkgrel=0
+pkgdesc="last.fm client for mpd"
+url="http://mpd.wikia.com/wiki/Client:Mpdscribble"
+arch="all"
+license="GPL"
+depends=""
+depends_dev=""
+makedepends="$depends_dev libmpdclient-dev curl-dev glib-dev"
+install=""
+subpackages="$pkgname-doc"
+source="https://sourceforge.net/projects/musicpd/files/mpdscribble/$pkgver/mpdscribble-$pkgver.tar.bz2
+ mpdscribble.initd"
+
+_builddir="$srcdir"/mpdscribble-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ install -D -m755 "$srcdir"/mpdscribble.initd "$pkgdir"/etc/init.d/mpdscribble
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="652ee927b797e9a4cef45494e77047db mpdscribble-0.22.tar.bz2
+26d5329f5dfd02f7239cd965dc5cc57e mpdscribble.initd"
+sha256sums="1cde2b5f8c70f0e3e6f059d01bf0b0f2eac2b29fbcd14b01a8a5103e603feb41 mpdscribble-0.22.tar.bz2
+c53787e97649d65b86de9fa041a5030727cd01f3ffebd330bc63abdb2eb88a93 mpdscribble.initd"
+sha512sums="bedd93392a4d5a0609dcaf7aefeeff3851f3084da8c34a4fc1f8fde51c2ba10b8370ac52cc8d55f0c9a96fffed975827a0935087c2c51880b7bfef8d79182dc8 mpdscribble-0.22.tar.bz2
+8d826e87f10cb3a6574d5c5419578e6f8a156bbbb867d458bded7238f42d56adf6e0890a8219750f1a38e37dd4bffd825ae1c79cfd377981ac7fba57c78e501b mpdscribble.initd"