From 423025a4468072e708f006722396bf0fc589e8fb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 25 Nov 2012 00:48:56 +0100 Subject: m + systemd support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- qtsixa/PKGBUILD | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'qtsixa/PKGBUILD') diff --git a/qtsixa/PKGBUILD b/qtsixa/PKGBUILD index 233b3bf..fbbbeb6 100755 --- a/qtsixa/PKGBUILD +++ b/qtsixa/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Mattias Andrée pkgname=qtsixa pkgver=1.5.1 -pkgrel=7 +pkgrel=8 pkgdesc="An utility to configure and use sixaxis controller via bluetooth." url="http://sourceforge.net/projects/qtsixa/" arch=('i686' 'x86_64' 'ppc') @@ -13,11 +13,13 @@ makedepends=('patch') source=(http://downloads.sourceforge.net/qtsixa/QtSixA-"$pkgver"-src.tar.gz sixad-init.patch sixad-bin.patch - sixad-shared-h.patch) + sixad-shared-h.patch + sixad.service) md5sums=('d61bef5d737367aeddd57a6bc11da52a' 'a8c7585f628ac5b2eafeb735e3eab28b' '0496d5e8c16b4519042bd024ad07b32d' - 'f7ed53be82bc4148b9a35cd565eb6ebe') + 'f7ed53be82bc4148b9a35cd565eb6ebe' + '7d885a478cdf4dca1c1b724a91bcfdaf') build() { # patch for sixad daemon echo "Patching sixad..." @@ -53,12 +55,17 @@ mkdir -p \ # $pkgdir/usr/share/qtsixa/lang/ \ # $pkgdir/usr/share/doc/qtsixa/ \ + +##systemd +mkdir -p $pkgdir/usr/lib/systemd/system/ +install -m 644 $srcdir/sixad.service $pkgdir/usr/lib/systemd/system/ + cd qtsixa ## Install files - install -m 655 qtsixa $pkgdir/usr/bin/ - install -m 655 sixad-lq $pkgdir/usr/bin/ - install -m 655 sixad-notify $pkgdir/usr/bin/ + install -m 755 qtsixa $pkgdir/usr/bin/ + install -m 755 sixad-lq $pkgdir/usr/bin/ + install -m 755 sixad-notify $pkgdir/usr/bin/ # install -m 644 manual/* $pkgdir/usr/share/doc/qtsixa/manual/ install -m 644 game-profiles/* $pkgdir/usr/share/qtsixa/game-profiles/ install -m 644 gui/*.py $pkgdir/usr/share/qtsixa/gui/ -- cgit v1.2.3-70-g09d2