diff options
author | AquaUseful | 2021-04-19 00:55:22 +0300 |
---|---|---|
committer | AquaUseful | 2021-04-19 00:55:22 +0300 |
commit | 7e153415abd15fd82f002c15791ef03ee8f2a9f5 (patch) | |
tree | 1dac987cdce2d5b677204b5cac668500877bf948 | |
download | aur-7e153415abd15fd82f002c15791ef03ee8f2a9f5.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | autobright-openrc.install | 4 |
4 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b648a861ce46 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = autobright-openrc + pkgdesc = Openrc script for autobright + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/AquaUseful/autobright-openrc + arch = any + license = MIT + depends = autobright + source = autobright-openrc-1.0.0.tar.gz::https://github.com/AquaUseful/autobright-openrc/archive/refs/tags/1.0.0.tar.gz + sha256sums = dc616378cca48bb8072b6ba5f6a7af8ea71afb136fa3038dae522a07d10f1cf3 + +pkgname = autobright-openrc + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..afeb86c1629d --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +**/src +**/pkg +**/*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e9874f3eea10 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: AquaUseful +pkgname=autobright-openrc +pkgdesc='Openrc script for autobright' +pkgver=1.0.0 +pkgrel=1 +arch=('any') +url='https://github.com/AquaUseful/autobright-openrc' +license=('MIT') +groups=() +depends=('autobright') +install="${pkgname}.install" +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AquaUseful/${pkgname}/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=('dc616378cca48bb8072b6ba5f6a7af8ea71afb136fa3038dae522a07d10f1cf3') + +package() { + install -m 755 -D "${srcdir}/${pkgname}-${pkgver}/autobright.initd" "$pkgdir/etc/init.d/autobright" + install -m 755 -D "${srcdir}/${pkgname}-${pkgver}/autobright.confd" "$pkgdir/etc/conf.d/autobright" +} diff --git a/autobright-openrc.install b/autobright-openrc.install new file mode 100644 index 000000000000..36d8c0cc903c --- /dev/null +++ b/autobright-openrc.install @@ -0,0 +1,4 @@ +post_install() { + echo "==> Configuration file for this service is /etc/conf.d/autobright +==> Before starting service check it out and configure your video device and backlight type" +} |