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:
1 parent
020c3dae15
commit
502498a9a5
2 files changed
+12
-10
No files matched your search
@@ -1,8 +1,9 @@
|
|||||||
pkgbase = asdcontrol
|
pkgbase = asdcontrol
|
||||||
pkgdesc = Control brightness on Apple Displays connected via USB-C
|
pkgdesc = Control brightness on Apple Displays connected via USB-C
|
||||||
pkgver = 0.23.0ee8bd5
|
epoch = 1
|
||||||
|
pkgver = 0.6.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/nikosdion/asdcontrol
|
url = https://github.com/omakasui/asdcontrol
|
||||||
install = asdcontrol.install
|
install = asdcontrol.install
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL2
|
license = GPL2
|
||||||
@@ -10,7 +11,7 @@ pkgbase = asdcontrol
|
|||||||
makedepends = gcc
|
makedepends = gcc
|
||||||
depends = glibc
|
depends = glibc
|
||||||
depends = gcc-libs
|
depends = gcc-libs
|
||||||
source = asdcontrol-0.23.0ee8bd5.tar.gz::https://github.com/nikosdion/asdcontrol/archive/0ee8bd5.tar.gz
|
source = asdcontrol-0.6.0.tar.gz::https://github.com/omakasui/asdcontrol/archive/refs/tags/v0.6.0.tar.gz
|
||||||
sha256sums = 1381ba2e048ec73aa0f8c32e47370460efd31b31f7558a7b922a3c4ebef00ebc
|
sha256sums = 3112a6d5fc51a204c96ef9d27187577c6efc80b952e37a77969efbd0124e81d3
|
||||||
|
|
||||||
pkgname = asdcontrol
|
pkgname = asdcontrol
|
||||||
@@ -1,25 +1,26 @@
|
|||||||
# Maintainer: Ryan Hughes <ryan@omarchy.org>
|
# Maintainer: Ryan Hughes <ryan@omarchy.org>
|
||||||
pkgname=asdcontrol
|
pkgname=asdcontrol
|
||||||
pkgver=0.23.0ee8bd5
|
epoch=1
|
||||||
|
pkgver=0.6.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Control brightness on Apple Displays connected via USB-C"
|
pkgdesc="Control brightness on Apple Displays connected via USB-C"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/nikosdion/asdcontrol"
|
url="https://github.com/omakasui/asdcontrol"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
options=('!debug')
|
options=('!debug')
|
||||||
depends=('glibc' 'gcc-libs')
|
depends=('glibc' 'gcc-libs')
|
||||||
makedepends=('make' 'gcc')
|
makedepends=('make' 'gcc')
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/nikosdion/asdcontrol/archive/0ee8bd5.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/omakasui/asdcontrol/archive/refs/tags/v$pkgver.tar.gz")
|
||||||
sha256sums=('1381ba2e048ec73aa0f8c32e47370460efd31b31f7558a7b922a3c4ebef00ebc')
|
sha256sums=('3112a6d5fc51a204c96ef9d27187577c6efc80b952e37a77969efbd0124e81d3')
|
||||||
install=asdcontrol.install
|
install=asdcontrol.install
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/asdcontrol-0ee8bd576d4e93513027d713e688988cb0d827ef"
|
cd "$srcdir/asdcontrol-$pkgver"
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/asdcontrol-0ee8bd576d4e93513027d713e688988cb0d827ef"
|
cd "$srcdir/asdcontrol-$pkgver"
|
||||||
|
|
||||||
# Install the binary
|
# Install the binary
|
||||||
install -Dm755 asdcontrol "$pkgdir/usr/bin/asdcontrol"
|
install -Dm755 asdcontrol "$pkgdir/usr/bin/asdcontrol"
|
||||||
|
|||||||
Reference in new issue
Block a user