diff options
author | Chocobo1 | 2016-11-10 20:25:46 +0800 |
---|---|---|
committer | Chocobo1 | 2016-11-10 20:26:18 +0800 |
commit | e1f10c33bb0e7b1d6c3188161d0a347c7dc54572 (patch) | |
tree | a38cbbab85df3334d8aa5fa57fb931f804efddaf | |
parent | ecceee83c0a96e89de837f6097db37e315eb11cb (diff) | |
download | aur-e1f10c33bb0e7b1d6c3188161d0a347c7dc54572.tar.gz |
Replace underlines in pkgver()
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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() { |