Skip to content

Commit

Permalink
PKGBUILD-git: pass the version value to make
Browse files Browse the repository at this point in the history
  • Loading branch information
SZinedine committed Apr 22, 2020
1 parent 0f806bf commit 96fccbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packaging/PKGBUILD-git
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ build() {
cd "$_name"
git submodule update --init --recursive
qmake PREFIX=/usr
make -j$(nproc)
# make -j$(nproc) DEFINES=-DDEEPTAGS_VERSION=\\\"$(git describe --tags)-git\\\"
make -j$(nproc) DEFINES=-DDEEPTAGS_VERSION=\\\"$(git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')\\\"
}

pkgver() {
Expand Down

0 comments on commit 96fccbe

Please sign in to comment.