summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12016-11-10 20:25:46 +0800
committerChocobo12016-11-10 20:26:18 +0800
commite1f10c33bb0e7b1d6c3188161d0a347c7dc54572 (patch)
treea38cbbab85df3334d8aa5fa57fb931f804efddaf
parentecceee83c0a96e89de837f6097db37e315eb11cb (diff)
downloadaur-e1f10c33bb0e7b1d6c3188161d0a347c7dc54572.tar.gz
Replace underlines in pkgver()
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b4bf80840157..4461af83726b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = libtorrent-rasterbar-1_0-git
pkgdesc = A C++ BitTorrent library that aims to be a good alternative to all the other implementations around (git branch RC_1_0)
- pkgver = 1_0_10.r7.geec6957
+ pkgver = 1.0.10.r7.geec6957
pkgrel = 1
url = http://www.libtorrent.org/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 1fba5638ca1d..fcc102d689be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Chocobo1
pkgname=libtorrent-rasterbar-1_0-git
-pkgver=1_0_10.r7.geec6957
+pkgver=1.0.10.r7.geec6957
pkgrel=1
pkgdesc='A C++ BitTorrent library that aims to be a good alternative to all the other implementations around (git branch RC_1_0)'
url='http://www.libtorrent.org/'
@@ -20,7 +20,7 @@ sha256sums=('SKIP'
pkgver() {
cd "libtorrent"
- git describe --long --tags | sed 's/^[A-Za-z]*-//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/^[A-Za-z]*-//;s/\([^-]*-g\)/r\1/;s/[_-]/./g'
}
prepare() {