summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorjacopo2015-09-25 16:59:39 +0200
committerjacopo2015-09-25 16:59:39 +0200
commitaccb824fd28998b97e4571869ed62ea99c56140f (patch)
tree795e7888530ad71f4366a94823f1244e838cc8f7 /PKGBUILD
parentfe8424f866ba5d8ed83e1f6c59eb4766a9ac41e4 (diff)
downloadaur-accb824fd28998b97e4571869ed62ea99c56140f.tar.gz
Moved the project to GitHub
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3693c39cece..9bc559fa88d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,21 @@
# Maintainer: jacopo <jacopo[at]autistici[dot]org>
pkgname=backlight-openrc
pkgrel=1
-pkgver=b49490c
+pkgver=0.1
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')
-source=("git+https://git.covolunablu.org/jacopo/backlight-openrc.git")
+#source=("git+https://git.covolunablu.org/jacopo/backlight-openrc.git")
+source=("git+https://github.com/antipatico/backlight-openrc.git")
install="$pkgname.install"
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
-# printf "%s_%s" "$(date +%Y%m%d)" "$(git log --pretty=format:'%h' -n 1)"
-# git log --pretty=format:'%h' -n 1
- ( set -o pipefail
- git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- )
+# printf "r%s" "$(date +%Y%m%d)" "$(git log --pretty=format:'%h' -n 1)"
+ git tag | tail -n1
}
package() {