Update to asdcontrol vs asdcontrol-git
This commit is contained in:
4 files changed
+12
-18
No files matched your search
@@ -1,17 +1,16 @@
|
|||||||
pkgbase = asdcontrol-git
|
pkgbase = asdcontrol
|
||||||
pkgdesc = Control brightness on Apple Displays connected via USB-C
|
pkgdesc = Control brightness on Apple Displays connected via USB-C
|
||||||
pkgver = r23.0ee8bd5
|
pkgver = 0.23.0ee8bd5
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/nikosdion/asdcontrol
|
url = https://github.com/nikosdion/asdcontrol
|
||||||
install = asdcontrol.install
|
install = asdcontrol.install
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL2
|
license = GPL2
|
||||||
makedepends = git
|
|
||||||
makedepends = make
|
makedepends = make
|
||||||
makedepends = gcc
|
makedepends = gcc
|
||||||
depends = glibc
|
depends = glibc
|
||||||
depends = gcc-libs
|
depends = gcc-libs
|
||||||
source = git+https://github.com/nikosdion/asdcontrol.git
|
source = asdcontrol-0.23.0ee8bd5.tar.gz::https://github.com/nikosdion/asdcontrol/archive/0ee8bd5.tar.gz
|
||||||
sha256sums = SKIP
|
sha256sums = 1381ba2e048ec73aa0f8c32e47370460efd31b31f7558a7b922a3c4ebef00ebc
|
||||||
|
|
||||||
pkgname = asdcontrol-git
|
pkgname = asdcontrol
|
||||||
File renamed without changes.
@@ -1,29 +1,24 @@
|
|||||||
# Maintainer: Ryan Hughes <ryan@omarchy.org>
|
# Maintainer: Ryan Hughes <ryan@omarchy.org>
|
||||||
pkgname=asdcontrol-git
|
pkgname=asdcontrol
|
||||||
pkgver=r23.0ee8bd5
|
pkgver=0.23.0ee8bd5
|
||||||
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/nikosdion/asdcontrol"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
depends=('glibc' 'gcc-libs')
|
depends=('glibc' 'gcc-libs')
|
||||||
makedepends=('git' 'make' 'gcc')
|
makedepends=('make' 'gcc')
|
||||||
source=("git+https://github.com/nikosdion/asdcontrol.git")
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/nikosdion/asdcontrol/archive/0ee8bd5.tar.gz")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('1381ba2e048ec73aa0f8c32e47370460efd31b31f7558a7b922a3c4ebef00ebc')
|
||||||
install=asdcontrol.install
|
install=asdcontrol.install
|
||||||
|
|
||||||
pkgver() {
|
|
||||||
cd "$srcdir/asdcontrol"
|
|
||||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/asdcontrol"
|
cd "$srcdir/asdcontrol-0ee8bd576d4e93513027d713e688988cb0d827ef"
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/asdcontrol"
|
cd "$srcdir/asdcontrol-0ee8bd576d4e93513027d713e688988cb0d827ef"
|
||||||
|
|
||||||
# Install the binary
|
# Install the binary
|
||||||
install -Dm755 asdcontrol "$pkgdir/usr/bin/asdcontrol"
|
install -Dm755 asdcontrol "$pkgdir/usr/bin/asdcontrol"
|
||||||
File renamed without changes.
Reference in new issue
Block a user