summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlois Nespor2016-11-15 11:49:24 +0100
committerAlois Nespor2016-11-15 11:49:24 +0100
commit70dcd503c4ef11e3072c4ba17d0c2ae39838495b (patch)
tree47b2ccedbfe5a6a7294ac95542e79322f558dafc /PKGBUILD
parentaccb824fd28998b97e4571869ed62ea99c56140f (diff)
downloadaur-70dcd503c4ef11e3072c4ba17d0c2ae39838495b.tar.gz
Update and add patch
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 15 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9bc559fa88d..1a2f5b286be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,32 @@
# Maintainer: jacopo <jacopo[at]autistici[dot]org>
pkgname=backlight-openrc
pkgrel=1
-pkgver=0.1
+pkgver=2
pkgdesc="Restore the screen brightness at system startup."
url="https://git.covolunablu.org/jacopo/backlight-openrc"
arch=('x86_64' 'i686')
license=('GPL3')
-depends=('openrc-core')
+depends=('openrc')
#source=("git+https://git.covolunablu.org/jacopo/backlight-openrc.git")
-source=("git+https://github.com/antipatico/backlight-openrc.git")
+source=("git+https://github.com/antipatico/backlight-openrc.git"
+ fix_script.patch)
install="$pkgname.install"
-md5sums=('SKIP')
-pkgver() {
+prepare() {
cd "$srcdir/$pkgname"
-# printf "r%s" "$(date +%Y%m%d)" "$(git log --pretty=format:'%h' -n 1)"
- git tag | tail -n1
+ patch -Np1 -i ../fix_script.patch
}
+#pkgver() {
+# cd "$srcdir/$pkgname"
+# printf "r%s" "$(date +%Y%m%d)" "$(git log --pretty=format:'%h' -n 1)"
+# git tag | tail -n1
+#}
+
package() {
cd "$srcdir/$pkgname"
install -Dm=755 backlight "$pkgdir/etc/init.d/backlight"
}
+
+sha256sums=('SKIP'
+ 'd80671027a454ed0f7961012c61939f2df5519af0adb8bc453b677b5eed7f57b')