summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjacopo2015-09-25 16:59:39 +0200
committerjacopo2015-09-25 16:59:39 +0200
commitaccb824fd28998b97e4571869ed62ea99c56140f (patch)
tree795e7888530ad71f4366a94823f1244e838cc8f7
parentfe8424f866ba5d8ed83e1f6c59eb4766a9ac41e4 (diff)
downloadaur-accb824fd28998b97e4571869ed62ea99c56140f.tar.gz
Moved the project to GitHub
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
2 files changed, 7 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 89999c745fd..1b673078f6b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = backlight-openrc
pkgdesc = Restore the screen brightness at system startup.
- pkgver = b49490c
+ pkgver = 0.1
pkgrel = 1
url = https://git.covolunablu.org/jacopo/backlight-openrc
install = backlight-openrc.install
@@ -8,7 +8,7 @@ pkgbase = backlight-openrc
arch = i686
license = GPL3
depends = openrc-core
- source = git+https://git.covolunablu.org/jacopo/backlight-openrc.git
+ source = git+https://github.com/antipatico/backlight-openrc.git
md5sums = SKIP
pkgname = backlight-openrc
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() {