Skip to content
This repository was archived by the owner on Apr 20, 2025. It is now read-only.

Commit 54ffbc0

Browse files
authored
Merge pull request #15 from Buddy-Matt/master
AUR Updates
2 parents de724d7 + 648c73d commit 54ffbc0

File tree

3 files changed

+34
-6
lines changed

3 files changed

+34
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ from the folder where you downloaded it.
115115

116116
_Note: Although it is not recommended, you **can** install dpkg on Arch Linux, and install the .deb package there as you would on Debian OS'es._
117117

118-
Alternatively, you can use the [AUR Package](https://aur.archlinux.org/packages/tuxedo-backlight-control/) from [Steven Seifried](https://github.com/StevenSeifried/)
118+
Alternatively, you can use the [AUR Package](https://aur.archlinux.org/packages/tuxedo-backlight-control-git/) from [Steven Seifried](https://github.com/StevenSeifried/)
119119

120120
### Manual
121121

@@ -146,7 +146,7 @@ dpkg -r tuxedo-backlight-control
146146
### Arch Linux / Manjaro:
147147

148148
```
149-
pacman -Rs tuxedo-backlight-control
149+
pacman -Rs tuxedo-backlight-control-git
150150
```
151151

152152
### Manual:

build/ARCH/.SRCINFO

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
pkgbase = tuxedo-backlight-control-git
2+
pkgdesc = GUI utility built on top of TUXEDO Keyboard. Provides a bash CLI (backlight) and a minimal Python UI.
3+
pkgver = 0.7.r14.gde724d7
4+
pkgrel = 2
5+
url = https://github.com/webketje/tuxedo-backlight-control
6+
arch = x86_64
7+
license = MIT
8+
depends = python
9+
depends = tk
10+
depends = polkit
11+
depends = tuxedo-keyboard
12+
makedepends = git
13+
source = git+https://github.com/webketje/tuxedo-backlight-control
14+
sha256sums = SKIP
15+
sha512sums = SKIP
16+
17+
pkgname = tuxedo-backlight-control-git
18+

build/ARCH/PKGBUILD

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
1-
# Maintainer: Steven Seifried <gitlab@canox.net>
1+
# Maintainer: Matt Gray <Buddy.Matt1984@Gmail.com>
2+
# Contributor: Nigel <nigelwestland@gmail.com>
23
# Contributor: Steven Seifried <gitlab@canox.net>
34
# Contributor: Kevin Van Lierde <kevin.van.lierde@gmail.com>
4-
pkgname=tuxedo-backlight-control
5+
6+
_pkgname='tuxedo-backlight-control'
7+
pkgname="${_pkgname}-git"
8+
pkgver=0.7.r14.gde724d7
59
pkgrel=2
6-
pkgver=0.6
710
arch=('x86_64')
811
license=('MIT')
912
url=https://github.com/webketje/tuxedo-backlight-control
1013
source=('git+https://github.com/webketje/tuxedo-backlight-control')
1114
sha256sums=('SKIP')
1215
sha512sums=('SKIP')
1316
pkgdesc='GUI utility built on top of TUXEDO Keyboard. Provides a bash CLI (backlight) and a minimal Python UI.'
14-
depends=('python' 'tk' 'polkit')
17+
depends=('python' 'tk' 'polkit' 'tuxedo-keyboard')
18+
makedepends=('git')
19+
20+
pkgver() {
21+
git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
22+
}
23+
1524
package() {
1625
mkdir -p "${pkgdir}/usr/share/tuxedo-backlight-control/"
1726
install -Dm644 "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/backlight.py" "${pkgdir}/usr/local/bin/backlight"
@@ -22,4 +31,5 @@ package() {
2231
install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/backlight_control.py" "${pkgdir}/usr/share/tuxedo-backlight-control/backlight_control.py"
2332
install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/icon.png" "${pkgdir}/usr/share/tuxedo-backlight-control/icon.png"
2433
install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/colors.py" "${pkgdir}/usr/share/tuxedo-backlight-control/colors.py"
34+
install -D "${srcdir}/tuxedo-backlight-control/LICENSE" "${pkgdir}/usr/share/licenses/LICENSE"
2535
}

0 commit comments

Comments
 (0)