summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 248c109dfd18..baa533a9b454 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = atom-community-git
pkgdesc = A hackable text editor for the 21st century, built on Electron, and based on everything we love about our favorite editors.
- pkgver = 1.63.0_dev_0f7c5c14e
+ pkgver = 1.63.0_dev.r39017.g0f7c5c1
pkgrel = 1
url = https://github.com/atom-community/atom
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 168f7491ed93..8e0e39bfa199 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _gitname=atom
_pkgname=${_gitname}-community
pkgname=${_pkgname}-git
-pkgver=1.63.0_dev_0f7c5c14e
+pkgver=1.63.0_dev.r39017.g0f7c5c1
pkgrel=1
pkgdesc="A hackable text editor for the 21st century, built on Electron, and based on everything we love about our favorite editors."
url="https://github.com/atom-community/atom"
@@ -33,7 +33,7 @@ prepare() {
pkgver() {
cd ${_gitname}
- printf "%s_%s" "$(npm pkg get version | sed 's/-/_/' | sed 's/"//g')" "$(git log -1 --pretty=format:'%h')"
+ printf "%s.r%s.g%s" "$(npm pkg get version | sed 's/-/_/' | sed 's/"//g')" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {