summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornigelwarning2020-10-18 12:13:40 +0200
committernigelwarning2020-10-18 12:13:40 +0200
commit7e366e4793c5de3d942f296a5de95d5ef7db8451 (patch)
tree4abb99cbe9f404632b48d84b704047f7aef5dbd0
downloadaur-7e366e4793c5de3d942f296a5de95d5ef7db8451.tar.gz
new Package
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD25
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0983bf1c4d7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = tuxedo-backlight-control-git
+ pkgdesc = GUI utility built on top of TUXEDO Keyboard. Provides a bash CLI (backlight) and a minimal Python UI.
+ pkgver = 0.6
+ pkgrel = 3
+ url = https://github.com/webketje/tuxedo-backlight-control
+ arch = x86_64
+ license = MIT
+ depends = python
+ depends = git
+ depends = tk
+ depends = polkit
+ source = git+https://github.com/webketje/tuxedo-backlight-control
+ sha256sums = SKIP
+ sha512sums = SKIP
+
+pkgname = tuxedo-backlight-control-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cd8e8e7133b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Nigel <nigelwestland@gmail.com>
+
+_pkgname='tuxedo-backlight-control'
+pkgname="${_pkgname}-git"
+pkgver=0.6.r5.gd94e59f
+pkgrel=1
+arch=('x86_64')
+license=('MIT')
+url=https://github.com/webketje/tuxedo-backlight-control
+source=('git+https://github.com/webketje/tuxedo-backlight-control')
+sha256sums=('SKIP')
+sha512sums=('SKIP')
+pkgdesc='GUI utility built on top of TUXEDO Keyboard. Provides a bash CLI (backlight) and a minimal Python UI.'
+depends=('python' 'tk' 'polkit, git')
+package() {
+ mkdir -p "${pkgdir}/usr/share/tuxedo-backlight-control/"
+ install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/backlight.py" "${pkgdir}/usr/local/bin/backlight"
+ install -Dm644 "${srcdir}/tuxedo-backlight-control/src/usr/share/polkit-1/actions/webketje.tuxedo-backlight-control.policy" "${pkgdir}/usr/share/polkit-1/actions/webketje.tuxedo-backlight-control.policy"
+ install -Dm644 "${srcdir}/tuxedo-backlight-control/src/usr/share/applications/tuxedo-backlight-control.desktop" "${pkgdir}/usr/share/applications/tuxedo-backlight-control.desktop"
+ install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/ui.py" "${pkgdir}/usr/share/tuxedo-backlight-control/ui.py"
+ install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/backlight.py" "${pkgdir}/usr/share/tuxedo-backlight-control/backlight.py"
+ install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/icon.png" "${pkgdir}/usr/share/tuxedo-backlight-control/icon.png"
+ install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/colors.py" "${pkgdir}/usr/share/tuxedo-backlight-control/colors.py"
+ install -D "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/LICENSE"
+}