summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhashworks2019-10-11 18:15:53 +0200
committerhashworks2019-10-11 18:15:53 +0200
commit8bd208fffada77390f8c61a87d464f5ba22be1cb (patch)
treed53ca5fd6f2b7f5d7e601bc830e1711ffcf11b44
downloadaur-8bd208fffada77390f8c61a87d464f5ba22be1cb.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore2
-rw-r--r--.gitlab-ci.yml4
-rw-r--r--PKGBUILD20
-rw-r--r--prismatik.install11
5 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..625cdc804a4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = prismatik-psieg
+ pkgdesc = A controller for usb driven LED backlights. An unofficial fork.
+ pkgver = 5.11.2.19
+ pkgrel = 1
+ url = https://github.com/psieg/Lightpack
+ install = prismatik.install
+ arch = x86_64
+ license = GPL3
+ depends = qt5-serialport
+ depends = libxkbcommon-x11
+ provides = lightpack
+ provides = prismatik
+ conflicts = prismatik
+ conflicts = prismatik-git
+ source = https://github.com/psieg/Lightpack/releases/download/5.11.2.19/prismatik_5.11.2.19_amd64.deb
+ sha256sums = 07248fe7d9950747b6c73bb0b382dfd3b84219d8675b65c3a5f08b5bc83d1ac8
+
+pkgname = prismatik-psieg
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..1c244af358b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*.tar.*
+*.deb
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000000..e011b6f7c94
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,4 @@
+include:
+ - project: 'aur-packages/ci-cd'
+ ref: master
+ file: 'github-packages.yml'
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f7e032d05d9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: hashworks <mail@hashworks.net>
+
+pkgname=prismatik-psieg
+pkgver=5.11.2.19
+pkgrel=1
+pkgdesc="A controller for usb driven LED backlights. An unofficial fork."
+arch=('x86_64')
+url="https://github.com/psieg/Lightpack"
+license=('GPL3')
+depends=('qt5-serialport' 'libxkbcommon-x11')
+provides=('lightpack' 'prismatik')
+conflicts=('prismatik' 'prismatik-git')
+install=prismatik.install
+source=(https://github.com/psieg/Lightpack/releases/download/${pkgver}/prismatik_${pkgver}_amd64.deb)
+sha256sums=('07248fe7d9950747b6c73bb0b382dfd3b84219d8675b65c3a5f08b5bc83d1ac8')
+
+package() {
+ tar xf data.tar.xz -C "${pkgdir}"
+ chmod -R g-w "${pkgdir}"
+}
diff --git a/prismatik.install b/prismatik.install
new file mode 100644
index 00000000000..1e51dc482ef
--- /dev/null
+++ b/prismatik.install
@@ -0,0 +1,11 @@
+post_install() {
+ udevadm control --reload-rules
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}