diff options
author | Florian Walch | 2015-11-01 23:23:11 +0100 |
---|---|---|
committer | Florian Walch | 2015-11-01 23:23:11 +0100 |
commit | c8e52269eb1c634c6273f3f748795e7ffebb3e7b (patch) | |
tree | f3eb46a10bea22f63f647d83edb7a6cb73097e16 /PKGBUILD | |
parent | 49a449ba1cc957a0e6a05f5d480d9ebafee23dd5 (diff) | |
download | aur-c8e52269eb1c634c6273f3f748795e7ffebb3e7b.tar.gz |
PKGBUILD: Update pkgver() for 0.1.0 release.
Also set build type to 'Dev' (see [1]).
[1] https://github.com/neovim/neovim/pull/3318
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ # Contributor: Florian Hahn <flo@fhahn.com> pkgname=neovim-git -pkgver=0.r4306.68e5968 +pkgver=0.1.0.r0.gc4826c3 pkgrel=1 pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs.' arch=('i686' 'x86_64') @@ -22,14 +22,14 @@ install=neovim-git.install pkgver() { cd "${pkgname}" - printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { mkdir -p "${pkgname}/build" cd "${pkgname}/build" cmake -G 'Unix Makefiles' \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_BUILD_TYPE=Dev \ -DCMAKE_INSTALL_PREFIX=/usr \ -DENABLE_JEMALLOC=ON \ .. |