diff options
author | Gustavo Alvarez | 2016-07-03 15:13:02 +0200 |
---|---|---|
committer | Gustavo Alvarez | 2016-07-03 15:13:02 +0200 |
commit | c84606c6ebc7c6e80bede82b495bcf7867d20971 (patch) | |
tree | b1fe4786da61f7bdc0a9c446c43ab18d3b08b264 | |
parent | 737139f0cd94ae6f17187ac06bd6ab672993531c (diff) | |
download | aur-c84606c6ebc7c6e80bede82b495bcf7867d20971.tar.gz |
bump
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 10 insertions, 6 deletions
@@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Sun Jul 3 13:12:55 UTC 2016 pkgbase = mini18n-git pkgdesc = A a small and non-intrusive translation library designed for small memory and non-GNU systems. (GIT version) - pkgver = 0.2.1.r2406.e538b8c + pkgver = 0.2.1.r3158.e78c886 pkgrel = 1 url = http://wiki.yabause.org/index.php5?title=Mini18n arch = x86_64 @@ -1,14 +1,16 @@ # Maintainer: Gustavo alvarez <sl1pkn07@gmail.com> pkgname=mini18n-git -pkgver=0.2.1.r2406.e538b8c +pkgver=0.2.1.r3158.e78c886 pkgrel=1 pkgdesc="A a small and non-intrusive translation library designed for small memory and non-GNU systems. (GIT version)" arch=('x86_64' 'i386') -url="http://wiki.yabause.org/index.php5?title=Mini18n" +url='http://wiki.yabause.org/index.php5?title=Mini18n' license=('GPL') depends=('glibc') -makedepends=('git' 'cmake') +makedepends=('git' + 'cmake' + ) conficts=('mini18n') provides=('mini18n') source=("git+https://github.com/Guillaumito/yabause.git") @@ -16,8 +18,8 @@ sha1sums=('SKIP') pkgver() { cd yabause/mini18n - _ver="$(cat CMakeLists.txt | grep -e MINI18N_VERSION_MAJOR -e MINI18N_VERSION_MINOR -e MINI18N_VERSION_PATCH | head -n3 | cut -d ' ' -f2 | tr -d ')')" - echo "$(echo ${_ver} | tr ' ' .).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" + _ver="$(cat CMakeLists.txt | grep -m3 "MINI18N_VERSION_" | sed 's|MINI18|MINI|g' | grep -o "[[:digit:]]*" | paste -sd'.')" + echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } prepare() { |