diff options
author | Sonic-Y3k | 2015-06-09 00:01:00 +0200 |
---|---|---|
committer | Sonic-Y3k | 2015-06-09 00:01:00 +0200 |
commit | 9aff92b94deafc3236d051242a3049192f2db886 (patch) | |
tree | ed47db57877047347d623d1c5fe414dbe5400839 | |
download | aur-atvclient-git.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 48 | ||||
-rw-r--r-- | atvclient-git.changelog | 18 | ||||
-rw-r--r-- | atvclient-git.install | 10 | ||||
-rw-r--r-- | atvclient.conf | 3 | ||||
-rw-r--r-- | atvclient.service | 11 |
6 files changed, 113 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fb0647315dd4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = atvclient-git + pkgdesc = Background application implementing the functionality of the AppleTV OS HID driver + pkgver = r11.9921269 + pkgrel = 1 + url = http://wiki.github.com/Evinyatar/atvclient/ + install = atvclient-git.install + changelog = atvclient-git.changelog + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + depends = libusb-compat + provides = atvclient + conflicts = atvclient-git + source = atvclient::git+https://github.com/Evinyatar/atvclient.git + source = atvclient.service + source = atvclient.conf + md5sums = SKIP + md5sums = f010c482079177fa8c2f22d87f0972b8 + md5sums = 9e5b14fb17b47d0e203fbd08473e9d76 + +pkgname = atvclient-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..558c35117a09 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Sonic-Y3k <sonic.y3k@googlemail.com> +pkgname=atvclient-git +pkgver=r11.9921269 +pkgrel=1 +pkgdesc="Background application implementing the functionality of the AppleTV OS HID driver" +arch=('i686' 'x86_64') +url="http://wiki.github.com/Evinyatar/atvclient/" +license=('GPL2') +depends=('libusb-compat') +provides=('atvclient') +conflicts=('atvclient-git') +makedepends=('git') +source=("atvclient::git+https://github.com/Evinyatar/atvclient.git" + "atvclient.service" + "atvclient.conf") +md5sums=("SKIP" + "f010c482079177fa8c2f22d87f0972b8" + "9e5b14fb17b47d0e203fbd08473e9d76") + +changelog=$pkgname.changelog +install=$pkgname.install + +pkgver() { + cd "${srcdir}/atvclient" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "${srcdir}/atvclient" + autoreconf + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make +} + +package() { + cd "${srcdir}/atvclient" + make install DESTDIR="${pkgdir}" + install -Dm 755 "${pkgdir}/usr/sbin/atvclient" "${pkgdir}/usr/bin/atvclient" + rm -r "${pkgdir}/usr/sbin" + install -Dm 644 "${srcdir}/atvclient.service" "${pkgdir}/usr/lib/systemd/system/atvclient.service" + install -Dm 644 "${srcdir}/atvclient.conf" "${pkgdir}/etc/conf.d/atvclient.conf" + install -d "${pkgdir}/usr/share/doc/${pkgname}/" + install -Dm644 "${srcdir}/atvclient/AUTHORS" "${pkgdir}/usr/share/doc/${pkgname}/" + install -Dm644 "${srcdir}/atvclient/NEWS" "${pkgdir}/usr/share/doc/${pkgname}/" + install -Dm644 "${srcdir}/atvclient/README" "${pkgdir}/usr/share/doc/${pkgname}/" + install -Dm644 "${srcdir}/atvclient/COPYING" "${pkgdir}/usr/share/doc/${pkgname}/" + install -Dm644 "${srcdir}/atvclient/ChangeLog" "${pkgdir}/usr/share/doc/${pkgname}/" +} diff --git a/atvclient-git.changelog b/atvclient-git.changelog new file mode 100644 index 000000000000..9de794eb8358 --- /dev/null +++ b/atvclient-git.changelog @@ -0,0 +1,18 @@ +2015-06-08 +* Rebuild package for aur4. + +2010-12-09 +* Rebuild because of the libusb upgrade: replaced libusb dependency with + libusb-compat +* Fixed error in daemon script + +2010-09-07 +* Removed Zeldi's patch (got incorporated into git tree) +* Refactored PKGBUILD to use build() and package() functions +* Added daemon script and corresponding configuration file +* Added install message +* Added changelog + +2010-03-28 +* Applied Zeldi's 63 button patch, finally allowing universal remote support +* See http://forum.xbmc.org/showpost.php?p=542303&postcount=64 diff --git a/atvclient-git.install b/atvclient-git.install new file mode 100644 index 000000000000..4d25eb7a6400 --- /dev/null +++ b/atvclient-git.install @@ -0,0 +1,10 @@ +post_install() { + echo "> As of version 20100907 there is a daemon script provided." + echo "" + echo "> If you need universal remote support (e.g. Logitech Harmony), add" + echo "> the -m option to the daemon configuration file in /etc/conf.d." +} + +post_upgrade() { + post_install $1 +} diff --git a/atvclient.conf b/atvclient.conf new file mode 100644 index 000000000000..c6161e4b333f --- /dev/null +++ b/atvclient.conf @@ -0,0 +1,3 @@ +# Atvclient daemon arguments +# Add -m to enable universal remote support +DAEMON_ARGS="" diff --git a/atvclient.service b/atvclient.service new file mode 100644 index 000000000000..63c8f2ba4ede --- /dev/null +++ b/atvclient.service @@ -0,0 +1,11 @@ +[Unit] +Description=Background application implementing the functionality of the AppleTV OS HID driver +Wants=lirc.service + +[Service] +Type=simple +PIDFile=/run/atvclient.pid +ExecStart=/usr/bin/atvclient + +[Install] +WantedBy=multi-user.target |