Migrating to a fork for asdcontrol (#85)

* Migrate to omakasui/asdcontrol

* Add epoch to prevent incorrect version comparison with legacy asdcontrol
This commit is contained in:
Luca Pattocchio authored and GitHub committed 2026-04-30 10:57:23 +02:00
1 parent 020c3dae15
commit 502498a9a5
2 files changed
+12 -10

No files matched your search

+7 -6
View File
@@ -1,25 +1,26 @@
# Maintainer: Ryan Hughes <ryan@omarchy.org>
pkgname=asdcontrol
pkgver=0.23.0ee8bd5
epoch=1
pkgver=0.6.0
pkgrel=1
pkgdesc="Control brightness on Apple Displays connected via USB-C"
arch=('x86_64')
url="https://github.com/nikosdion/asdcontrol"
url="https://github.com/omakasui/asdcontrol"
license=('GPL2')
options=('!debug')
depends=('glibc' 'gcc-libs')
makedepends=('make' 'gcc')
source=("$pkgname-$pkgver.tar.gz::https://github.com/nikosdion/asdcontrol/archive/0ee8bd5.tar.gz")
sha256sums=('1381ba2e048ec73aa0f8c32e47370460efd31b31f7558a7b922a3c4ebef00ebc')
source=("$pkgname-$pkgver.tar.gz::https://github.com/omakasui/asdcontrol/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('3112a6d5fc51a204c96ef9d27187577c6efc80b952e37a77969efbd0124e81d3')
install=asdcontrol.install
build() {
cd "$srcdir/asdcontrol-0ee8bd576d4e93513027d713e688988cb0d827ef"
cd "$srcdir/asdcontrol-$pkgver"
make
}
package() {
cd "$srcdir/asdcontrol-0ee8bd576d4e93513027d713e688988cb0d827ef"
cd "$srcdir/asdcontrol-$pkgver"
# Install the binary
install -Dm755 asdcontrol "$pkgdir/usr/bin/asdcontrol"