summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM0Rf302015-06-17 15:42:48 +0200
committerM0Rf302015-06-17 15:42:48 +0200
commitecd03ce4cc74519969ea8ca4ac9ab97c8bb5e593 (patch)
treebf289e2d70cb86bc2ff964bd210e50eba4254d05
downloadaur-ecd03ce4cc74519969ea8ca4ac9ab97c8bb5e593.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD43
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c33fa16dc74
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = jacklistener-git
+ pkgdesc = Jack Listener Daemon (jack-sensing)
+ pkgver = 46.6779b2e
+ pkgrel = 1
+ url = https://github.com/gentoo-root/jacklistener
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ depends = dbus
+ optdepends = jackeventcmd-git: Run custom commands when headphones are (un)plugged
+ optdepends = jacknotifier-git: Headphones Jack Notification Daemon
+ optdepends = musicpaused-git: Pause music when headphones are unplugged
+ provides = jacklistener
+ source = jacklistener::git://github.com/gentoo-root/jacklistener.git
+ md5sums = SKIP
+
+pkgname = jacklistener-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dfeaccf161e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: M0Rf30
+
+pkgname=jacklistener-git
+pkgver=46.6779b2e
+pkgrel=1
+pkgdesc="Jack Listener Daemon (jack-sensing)"
+arch=('i686' 'x86_64')
+url="https://github.com/gentoo-root/jacklistener"
+license=('GPL3')
+provides=('jacklistener')
+depends=('dbus')
+optdepends=("jackeventcmd-git: Run custom commands when headphones are (un)plugged"
+ "jacknotifier-git: Headphones Jack Notification Daemon"
+ "musicpaused-git: Pause music when headphones are unplugged"
+)
+makedepends=('git')
+source=('jacklistener::git://github.com/gentoo-root/jacklistener.git')
+
+build() {
+ cd jacklistener
+ sed 's#AM_CONFIG_HEADER#AC_CONFIG_HEADERS#g' -i configure.ac
+ libtoolize
+ aclocal -I m4
+ autoheader
+ automake --add-missing
+ autoconf
+ ./configure --prefix=/usr --sysconfdir=/etc --enable-systemd --enable-arch
+ make
+}
+
+package() {
+ cd jacklistener
+ make DESTDIR="$pkgdir" install
+ install -D init.d/jacklistener-runscript $pkgdir/usr/bin/jacklistenerd-runscript
+ install -D jacklistenerd $pkgdir/usr/lib/jacklistener/jacklistenerd
+}
+
+pkgver() {
+ cd jacklistener
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
+
+md5sums=('SKIP')