summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/xfmpc/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xfmpc/APKBUILD b/user/xfmpc/APKBUILD
new file mode 100644
index 000000000..0b13bd5a2
--- /dev/null
+++ b/user/xfmpc/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=xfmpc
+pkgver=0.2.3
+pkgrel=0
+pkgdesc="Graphical music player daemon client for the XFCE desktop environment"
+url="https://xfce.org"
+arch="all"
+license="GPL-2.0+ AND LGPL-2.0+"
+makedepends="intltool gtk+2.0-dev libxfce4ui-dev libmpd-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+langdir="/usr/lib/locale"
+source="http://archive.xfce.org/src/apps/xfmpc/0.2/xfmpc-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="3f592fdd559817051f7720bafc07fc66b39f682cc20286c12d54c4bd607e85bb0a722c567264a29224971b4ac14db51b0b44b233a16cccd9d17579a50549a3be xfmpc-0.2.3.tar.bz2"