43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=xbrightness
|
|
pkgver=0.3
|
|
pkgrel=04
|
|
pkgdesc="X11 brightness control without systemd needed by brightnessctl"
|
|
url="http://shallowsky.com/software/xbrightness/"
|
|
groups=('x11')
|
|
depends=('libxmu' )
|
|
makedepends=(libxxf86vm libxaw libxpm)
|
|
conflicts=(brightnessctl)
|
|
replaces=(brightnessctl)
|
|
source=(http://shallowsky.com/software/xbrightness/xbrightness-0.3-mika-akk.tar.gz)
|
|
noextract=()
|
|
|
|
build() {
|
|
cd "$srcdir/xbrightness-0.3-mika-akk"
|
|
sed -i "s/ -m32//g" Makefile
|
|
# make all || return 1
|
|
make || return 4
|
|
}
|
|
package() {
|
|
cd "$srcdir/xbrightness-0.3-mika-akk"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('custom')
|
|
|
|
md5sums=('3b7a35a67407ffc07aed9dd8b42caa68')
|
|
|
|
sha256sums=(2564dbd393544657cdabe4cbf535d9cfb9abe8edddb1b8cdb1ed4d12f358626e) # xbrightness-0.3-mika-akk.tar.gz
|
|
|
|
## 71171a4a6ff0bbc245b995344c7db00b885f9074738e1ad21bfa91f98f5bfd52 xbrightness-0.3-04-x86_64.pkg.tar.lz
|
|
|