summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Mueller2014-03-06 19:31:29 +0100
committerAaron Mueller2014-03-06 19:31:29 +0100
commitcd728d41ce2e9a9110abaa6690e5cc43ea3b1996 (patch)
tree4ac156099ba8b83a70be59b6af3d39ee2f62acb2
downloadaur-cd728d41ce2e9a9110abaa6690e5cc43ea3b1996.tar.gz
Move all packages to version control
-rw-r--r--.SRCINFO52
-rw-r--r--PKGBUILD198
-rwxr-xr-xroccat-tools.install29
3 files changed, 279 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f58074f391e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,52 @@
+pkgbase = roccat-tools
+ pkgdesc = Userland applications to configure and make extended use of ROCCAT devices
+ pkgver = 1.4.1
+ pkgrel = 2
+ url = http://roccat.sourceforge.net
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = cmake
+ depends = libcanberra
+ depends = gtk2
+ depends = libnotify>=0.7.0
+ depends = libusb
+ depends = dbus-glib
+ depends = udev
+ depends = hicolor-icon-theme
+ optdepends = kmod-roccat: Adds support for some devices not yet in vanilla kernel
+ conflicts = kone
+ conflicts = koneplus
+ conflicts = pyra
+ conflicts = roccat
+ source = http://downloads.sourceforge.net/project/roccat/roccat-tools/roccat-tools-1.4.1.tar.bz2
+ md5sums = 5edc1c936cef38c3a24de0676643010b
+
+pkgname = roccat-tools-common
+
+pkgname = roccat-tools-arvo
+
+pkgname = roccat-tools-isku
+
+pkgname = roccat-tools-iskufx
+
+pkgname = roccat-tools-kone
+
+pkgname = roccat-tools-koneplus
+
+pkgname = roccat-tools-konepure
+
+pkgname = roccat-tools-konepureoptical
+
+pkgname = roccat-tools-konextd
+
+pkgname = roccat-tools-kovaplus
+
+pkgname = roccat-tools-lua
+
+pkgname = roccat-tools-pyra
+
+pkgname = roccat-tools-ryos
+
+pkgname = roccat-tools-savu
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6364684770c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,198 @@
+# Maintainer: Aaron Mueller <mail@aaron-mueller.de>
+# Contributor: Nuno Araujo <nuno.araujo@russo79.com>
+# Contributor: Xpander <xpander0@gmail.com>
+# Contributor: erazor <erazor_de@users.soruceforge.net>
+
+pkgname=roccat-tools
+
+# To trick the AUR package parser (on the website), we need to "cover" the pkgname
+# list with the "true &&" hack. This way, the package will be displayed as
+# "roccat-tools" on the website.
+true && pkgname=('roccat-tools-common'
+ 'roccat-tools-arvo'
+ 'roccat-tools-isku'
+ 'roccat-tools-iskufx'
+ 'roccat-tools-kone'
+ 'roccat-tools-koneplus'
+ 'roccat-tools-konepure'
+ 'roccat-tools-konepureoptical'
+ 'roccat-tools-konextd'
+ 'roccat-tools-kovaplus'
+ 'roccat-tools-lua'
+ 'roccat-tools-pyra'
+ 'roccat-tools-ryos'
+ 'roccat-tools-savu')
+pkgbase=roccat-tools
+pkgver=1.4.1
+pkgrel=2
+pkgdesc="Userland applications to configure and make extended use of ROCCAT devices"
+arch=('i686' 'x86_64')
+url="http://roccat.sourceforge.net"
+license=('GPL2')
+depends=('libcanberra' 'gtk2' 'libnotify>=0.7.0' 'libusb' 'dbus-glib' 'udev' 'hicolor-icon-theme')
+makedepends=('cmake')
+optdepends=('kmod-roccat: Adds support for some devices not yet in vanilla kernel')
+conflicts=(kone koneplus pyra roccat)
+source=("http://downloads.sourceforge.net/project/roccat/roccat-tools/roccat-tools-$pkgver.tar.bz2")
+
+md5sums=('5edc1c936cef38c3a24de0676643010b')
+
+build() {
+ cd "$srcdir/$pkgbase-$pkgver"
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DUDEVDIR=/usr/lib/udev/rules.d
+ make
+}
+
+package_roccat-tools-common() {
+ true && pkgdesc="ROCCAT tools common files"
+install=roccat-tools.install
+ true && conflicts=('roccat-tools')
+
+ for i in icons sounds libroccat libroccathelper libroccatwidget roccateventhandler; do
+ cd $srcdir/$pkgbase-$pkgver/$i
+ make DESTDIR="$pkgdir/" install
+ done
+}
+
+package_roccat-tools-arvo() {
+ true && pkgdesc="Userland applications to configure and make extended use of ROCCAT Arvo devices"
+ true && depends=('roccat-tools-common')
+ true && conflicts=('roccat-tools')
+
+ cd "$srcdir/$pkgbase-$pkgver/arvo"
+ make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgbase-$pkgver"
+ install -Dm644 udev/90-roccat-arvo.rules $pkgdir/usr/lib/udev/rules.d/90-roccat-arvo.rules
+}
+
+package_roccat-tools-isku() {
+ true && pkgdesc="Userland applications to configure and make extended use of ROCCAT Isku devices"
+ true && depends=('roccat-tools-common')
+ true && conflicts=('roccat-tools')
+
+ cd "$srcdir/$pkgbase-$pkgver/isku"
+ make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgbase-$pkgver"
+ install -Dm644 udev/90-roccat-isku.rules $pkgdir/usr/lib/udev/rules.d/90-roccat-isku.rules
+}
+
+package_roccat-tools-iskufx() {
+ true && pkgdesc="Userland applications to configure and make extended use of ROCCAT Isku FX devices"
+ true && depends=('roccat-tools-common')
+ true && conflicts=('roccat-tools')
+
+ cd "$srcdir/$pkgbase-$pkgver/iskufx"
+ make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgbase-$pkgver"
+ install -Dm644 udev/90-roccat-iskufx.rules $pkgdir/usr/lib/udev/rules.d/90-roccat-iskufx.rules
+}
+
+package_roccat-tools-kone() {
+ true && pkgdesc="Userland applications to configure and make extended use of ROCCAT Kone devices"
+ true && depends=('roccat-tools-common')
+ true && conflicts=('roccat-tools')
+
+ cd "$srcdir/$pkgbase-$pkgver/kone"
+ make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgbase-$pkgver"
+ install -Dm644 udev/90-roccat-kone.rules $pkgdir/usr/lib/udev/rules.d/90-roccat-kone.rules
+}
+
+package_roccat-tools-koneplus() {
+ true && pkgdesc="Userland applications to configure and make extended use of ROCCAT Kone[+] devices"
+ true && depends=('roccat-tools-common')
+ true && conflicts=('roccat-tools')
+
+ cd "$srcdir/$pkgbase-$pkgver/koneplus"
+ make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgbase-$pkgver"
+ install -Dm644 udev/90-roccat-koneplus.rules $pkgdir/usr/lib/udev/rules.d/90-roccat-koneplus.rules
+}
+
+package_roccat-tools-konepure() {
+ true && pkgdesc="Userland applications to configure and make extended use of ROCCAT Kone Pure devices"
+ true && depends=('roccat-tools-common')
+ true && conflicts=('roccat-tools')
+
+ cd "$srcdir/$pkgbase-$pkgver/konepure"
+ make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgbase-$pkgver"
+ install -Dm644 udev/90-roccat-konepure.rules $pkgdir/usr/lib/udev/rules.d/90-roccat-konepure.rules
+}
+
+package_roccat-tools-konepureoptical() {
+ true && pkgdesc="Userland applications to configure and make extended use of ROCCAT Kone Pure optical devices"
+ true && depends=('roccat-tools-common')
+ true && conflicts=('roccat-tools')
+
+ cd "$srcdir/$pkgbase-$pkgver/konepureoptical"
+ make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgbase-$pkgver"
+ install -Dm644 udev/90-roccat-konepureoptical.rules $pkgdir/usr/lib/udev/rules.d/90-roccat-konepureoptical.rules
+}
+
+package_roccat-tools-konextd() {
+ true && pkgdesc="Userland applications to configure and make extended use of ROCCAT Kone XTD devices"
+ true && depends=('roccat-tools-common')
+ true && conflicts=('roccat-tools')
+
+ cd "$srcdir/$pkgbase-$pkgver/konextd"
+ make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgbase-$pkgver"
+ install -Dm644 udev/90-roccat-konextd.rules $pkgdir/usr/lib/udev/rules.d/90-roccat-konextd.rules
+}
+
+package_roccat-tools-kovaplus() {
+ true && pkgdesc="Userland applications to configure and make extended use of ROCCAT Kova[+] devices"
+ true && depends=('roccat-tools-common')
+ true && conflicts=('roccat-tools')
+
+ cd "$srcdir/$pkgbase-$pkgver/kovaplus"
+ make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgbase-$pkgver"
+ install -Dm644 udev/90-roccat-kovaplus.rules $pkgdir/usr/lib/udev/rules.d/90-roccat-kovaplus.rules
+}
+
+package_roccat-tools-lua() {
+ true && pkgdesc="Userland applications to configure and make extended use of ROCCAT Lua devices"
+ true && depends=('roccat-tools-common')
+ true && conflicts=('roccat-tools')
+
+ cd "$srcdir/$pkgbase-$pkgver/lua"
+ make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgbase-$pkgver"
+ install -Dm644 udev/90-roccat-lua.rules $pkgdir/usr/lib/udev/rules.d/90-roccat-lua.rules
+}
+
+package_roccat-tools-pyra() {
+ true && pkgdesc="Userland applications to configure and make extended use of ROCCAT Pyra devices"
+ true && depends=('roccat-tools-common')
+ true && conflicts=('roccat-tools')
+
+ cd "$srcdir/$pkgbase-$pkgver/pyra"
+ make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgbase-$pkgver"
+ install -Dm644 udev/90-roccat-pyra.rules $pkgdir/usr/lib/udev/rules.d/90-roccat-pyra.rules
+}
+
+package_roccat-tools-ryos() {
+ true && pkgdesc="Userland applications to configure and make extended use of ROCCAT Ryos devices"
+ true && depends=('roccat-tools-common')
+ true && conflicts=('roccat-tools')
+
+ cd "$srcdir/$pkgbase-$pkgver/ryos"
+ make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgbase-$pkgver"
+ install -Dm644 udev/90-roccat-ryos.rules $pkgdir/usr/lib/udev/rules.d/90-roccat-ryos.rules
+}
+
+package_roccat-tools-savu() {
+ true && pkgdesc="Userland applications to configure and make extended use of ROCCAT Savu devices"
+ true && depends=('roccat-tools-common')
+ true && conflicts=('roccat-tools')
+
+ cd "$srcdir/$pkgbase-$pkgver/savu"
+ make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgbase-$pkgver"
+ install -Dm644 udev/90-roccat-savu.rules $pkgdir/usr/lib/udev/rules.d/90-roccat-savu.rules
+}
diff --git a/roccat-tools.install b/roccat-tools.install
new file mode 100755
index 00000000000..5b15313315e
--- /dev/null
+++ b/roccat-tools.install
@@ -0,0 +1,29 @@
+post_install() {
+ ldconfig
+ touch --no-create /usr/share/icons/hicolor
+
+ groupadd --force roccat
+
+ mkdir --parents /var/lib/roccat
+ chown root:roccat /var/lib/roccat
+ chmod 2770 /var/lib/roccat
+
+ udevadm control --reload-rules
+}
+
+post_upgrade() {
+ ldconfig
+ touch --no-create /usr/share/icons/hicolor
+ udevadm control --reload-rules
+}
+
+post_remove() {
+ ldconfig
+ udevadm control --reload-rules
+
+ # If there are some configuration files in this dir, we get an error, which
+ # is good because we don't want to remove the user configs.
+ rm -r /var/lib/roccat
+
+ groupdel roccat
+}