aboutsummaryrefslogtreecommitdiffstats
path: root/main/pidgin-audacious/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-07-12 21:54:46 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-07-12 21:54:46 -0500
commitef2dd9886ac1bcab3223223c2331eaa0188c681c (patch)
treee5399988e2bd4d87f13cbea0d67b1effafaab850 /main/pidgin-audacious/APKBUILD
parent57191636b539d9c9eaa4952c5e760873aa5829fb (diff)
downloadaports-ef2dd9886ac1bcab3223223c2331eaa0188c681c.tar.bz2
aports-ef2dd9886ac1bcab3223223c2331eaa0188c681c.tar.xz
main/pidgin-audacious: new aport
Diffstat (limited to 'main/pidgin-audacious/APKBUILD')
-rw-r--r--main/pidgin-audacious/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/main/pidgin-audacious/APKBUILD b/main/pidgin-audacious/APKBUILD
new file mode 100644
index 0000000000..f7d7e84350
--- /dev/null
+++ b/main/pidgin-audacious/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=pidgin-audacious
+pkgver=2.0.0
+pkgrel=0
+pkgdesc="pidgin integration for audacious"
+url="http://honeyplanet.jp/download.html"
+arch="all"
+license="GPL"
+depends="pidgin"
+depends_dev="audacious-dev dbus-glib-dev pidgin-dev"
+makedepends="$depends_dev"
+install=""
+subpackages=
+source="http://honeyplanet.jp/pidgin-audacious-$pkgver.tar.gz"
+
+_builddir="$srcdir"/pidgin-audacious-$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"
+ mkdir -p ${pkgdir}/usr/lib/pidgin
+ make PIDGIN_LIB_DIR="${pkgdir}/usr/lib" install || return 1
+}
+
+md5sums="dfba64d9523c6fe9c7365f44be55404d pidgin-audacious-2.0.0.tar.gz"