diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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() { |