summaryrefslogtreecommitdiff
path: root/user/xfce4-pulseaudio-plugin/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xfce4-pulseaudio-plugin/APKBUILD')
-rw-r--r--user/xfce4-pulseaudio-plugin/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/xfce4-pulseaudio-plugin/APKBUILD b/user/xfce4-pulseaudio-plugin/APKBUILD
new file mode 100644
index 000000000..8a1e6cb34
--- /dev/null
+++ b/user/xfce4-pulseaudio-plugin/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=xfce4-pulseaudio-plugin
+pkgver=0.4.1
+pkgrel=0
+pkgdesc="Pulseaudio plugin for the XFCE panel"
+url="https://xfce.org"
+arch="all"
+license="GPL-2.0+"
+makedepends="intltool libxfce4ui-dev xfce4-panel-dev pulseaudio-dev
+ keybinder-3.0-dev libnotify-dev dbus-glib-dev"
+subpackages="$pkgname-lang"
+langdir="/usr/lib/locale"
+source="http://archive.xfce.org/src/panel-plugins/xfce4-pulseaudio-plugin/0.4/xfce4-pulseaudio-plugin-$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="e7b778c78ede9ad62afaa379941ce03636a79dd000e40e748079d3e0f3c71f2e68e32cf85e527be4e1192074652714db4b7c5707b727066198c2ea43184a71cc xfce4-pulseaudio-plugin-0.4.1.tar.bz2"