diff options
author | P.A. López-Valencia | 2016-10-24 17:17:31 -0500 |
---|---|---|
committer | P.A. López-Valencia | 2016-10-24 17:17:31 -0500 |
commit | d50d5c87f220fd63140528974a3d3c49ba653cc3 (patch) | |
tree | ae74e6be985f7f9646e1fa408c15ce8b35bfadce | |
parent | 2b63dbdad4ad6d9ec6302322a5e898cc3df356b2 (diff) | |
download | aur-d50d5c87f220fd63140528974a3d3c49ba653cc3.tar.gz |
Back to the master branch, now with more robust versioning.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 7 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = brave-git pkgdesc = A web browser that stops ads and trackers by default. Master branch. - pkgver = 0.12.6.Preview2 + pkgver = 0.12.6.15 pkgrel = 1 url = https://www.brave.com/ arch = x86_64 @@ -23,7 +23,7 @@ pkgbase = brave-git provides = brave provides = brave-browser conflicts = brave - source = git://github.com/brave/browser-laptop.git#branch=dev-channel + source = git://github.com/brave/browser-laptop.git source = brave.desktop sha384sums = SKIP sha384sums = f950675fb4a3f9e48374f8a2667e7a45889206a3062c8182e474143607fc26bd17e852a1ef494607dbd3ff4de325e05f @@ -2,7 +2,7 @@ pkgname=brave-git _pkgname=browser-laptop -pkgver=0.12.6.Preview2 +pkgver=0.12.6.15 pkgrel=1 pkgdesc="A web browser that stops ads and trackers by default. Master branch." arch=('x86_64') # Upstream supports x86_64 only @@ -14,20 +14,20 @@ makedepends=('git' 'npm') optdepends=('cups: To print stuff') provides=('brave' 'brave-browser') conflicts=('brave') -source=("git://github.com/brave/browser-laptop.git#branch=dev-channel" +source=("git://github.com/brave/browser-laptop.git" 'brave.desktop') sha384sums=('SKIP' 'f950675fb4a3f9e48374f8a2667e7a45889206a3062c8182e474143607fc26bd17e852a1ef494607dbd3ff4de325e05f') pkgver() { - cd "$srcdir/$_pkgname" + cd "$startdir/$_pkgname" # Please note that this version hack works here because this package # intends to track dev-channel, you can track master instead, just edit # above to your heart's content. # Upstream has a defined tagging and versioning policy, often. - printf %s \ - $(git describe --tags | sed -e 's/^v//' -e 's/dev//' -e 's/-/./' -e 's/-.\+//') # Version extraction is fragile and needs work. + # Version extraction is fragile and needs work. + echo $(git describe --tags | sed -e 's/^v//' -e 's/dev//' -e 's/-/./' -e 's/-.\+//') } build() { |