aboutsummaryrefslogtreecommitdiffstats
path: root/qtsixa/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-11-25 00:48:56 +0100
committerMattias Andrée <maandree@operamail.com>2012-11-25 00:48:56 +0100
commit423025a4468072e708f006722396bf0fc589e8fb (patch)
treeff395630d984abe20bedba3a295744a57a45047b /qtsixa/PKGBUILD
parentderp (diff)
downloadaur-packages-423025a4468072e708f006722396bf0fc589e8fb.tar.gz
aur-packages-423025a4468072e708f006722396bf0fc589e8fb.tar.bz2
aur-packages-423025a4468072e708f006722396bf0fc589e8fb.tar.xz
m + systemd support
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'qtsixa/PKGBUILD')
-rwxr-xr-xqtsixa/PKGBUILD19
1 files changed, 13 insertions, 6 deletions
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 <maandree@operamail.com>
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/