diff options
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 41 | ||||
-rw-r--r-- | iblu.install | 24 |
3 files changed, 53 insertions, 34 deletions
@@ -1,13 +1,17 @@ -pkgbase = pkgbase - pkgdesc = Refreshed new Adwaita theme with creamy colors and minor changes. - pkgver = 0.1 +pkgbase = iblu + pkgdesc = Intel Black Light Utility, written in python, allows you to control the screen brightness (iX processors family), via command line interface. + pkgver = 0.9 pkgrel = 1 - url = https://github.com/murat-cileli/adwaita-creamy + url = https://git.eigenlab.org/sbiego/iblu + install = iblu.install + arch = i686 arch = x86_64 - license = MIT - provides = adwaita-creamy - source = git+https://github.com/murat-cileli/adwaita-creamy.git - sha256sums = SKIP + arch = aarch64 + license = GPLv3 + depends = python + provides = iblu + source = https://git.eigenlab.org/sbiego/iblu/-/archive/v0.9/iblu-v0.9.tar.gz + sha256sums = 604aec80a03d72c34b5ca807fd2715fedbe73651010d489f43a4c5881ff87d52 -pkgname = adwaita-creamy +pkgname = iblu @@ -1,28 +1,19 @@ -# Maintainer: Murat Çileli <murat.cileli@gmail.com> - -pkgbase="pkgbase" -pkgname="adwaita-creamy" -pkgver="0.1" -pkgrel="1" -pkgdesc="Refreshed new Adwaita theme with creamy colors and minor changes. " -arch=("x86_64") -license=("MIT") -url="https://github.com/murat-cileli/adwaita-creamy" -makedepends=() -provides=("adwaita-creamy") - -source=("git+https://github.com/murat-cileli/adwaita-creamy.git") -sha256sums=("SKIP") - -build() { - cd "${pkgname}" - mkdir -p ~/.themes/adwaita-creamy - cp gtk-2.0 ~/.themes/adwaita-creamy/ -R - cp gtk-3.0 ~/.themes/adwaita-creamy/ -R - cp index.theme ~/.themes/adwaita-creamy/ -} +# Maintainer: diesys <code@flowin.space> +pkgname=iblu +pkgver=0.9 +pkgrel=1 +pkgdesc="Intel Black Light Utility, written in python, allows you to control the screen brightness (iX processors family), via command line interface." +arch=('any') +url="https://git.eigenlab.org/sbiego/iblu" +license=('GPLv3') +depends=('python') +provides=($pkgname) +install=$pkgname.install +source=(https://git.eigenlab.org/sbiego/iblu/-/archive/v$pkgver/iblu-v$pkgver.tar.gz) +sha256sums=('604aec80a03d72c34b5ca807fd2715fedbe73651010d489f43a4c5881ff87d52') package() { - echo "Package" + ## copia file + cd "$srcdir/$pkgname" + install -D $pkgname.py $pkgdir/usr/bin/$pkgname } - diff --git a/iblu.install b/iblu.install new file mode 100644 index 000000000000..8f3ac0ee3b0e --- /dev/null +++ b/iblu.install @@ -0,0 +1,24 @@ +post_install() { + + ### UNCOMMENT the following lines to CREATE and ENABLE the systemd unit + # it's MANDATORY execute those to run iblu + + # iblu UNIT > /usr/lib/systemd/system/iblu.service; #creates the systemd unit file + # systemctl start iblu.service; #enabling the service + # systemctl enable iblu.service; #enabling the service + + + echo -e "\n\tIBLU is ALMOST INSTALLED! \n\tPlease run the following commands:\n\n\t # iblu UNIT > /usr/lib/systemd/system/iblu.service \t#creates the systemd unit file \n\t # systemctl start iblu.service \t\t\t\t#starting the service\n\t # systemctl enable iblu.service \t\t\t\t#enabling the service\n" +} + + + + + +################################################################################################ +# read -p "Do you want to do it now (y/n)?" choice +# case "$choice" in +# y|Y ) iblu UNIT > /usr/lib/systemd/system/iblu.service; systemctl start iblu.service; systemctl enable iblu.service;; +# n|N ) echo "You can always to it running the following commands:\n\n\t # iblu UNIT > /usr/lib/systemd/system/iblu.service \t#creates the systemd unit file \n\t # systemctl start iblu.service \t\t\t\t#starting the service\n\t # systemctl enable iblu.service \t\t\t\t#enabling the service\n";; +# * ) echo "invalid";; +# esac
\ No newline at end of file |