PKGBUILD: Get version of package from git tag

This commit is contained in:
nxshock
2021-04-04 18:14:08 +05:00
parent 9ec24496f6
commit b815bc2cd0
2 changed files with 9 additions and 10 deletions
+3 -2
View File
@@ -45,9 +45,10 @@ Create and install package with this commands:
```sh
# make package
curl -L -O https://raw.githubusercontent.com/Revertron/Alfis/master/contrib/PKGBUILD
git clone https://github.com/Revertron/Alfis.git
cd Alfis/contrib
makepkg
# install package (from root)
pacman -U alfis-0.3.12-1-x86_64.pkg.tar.xz
pacman -U alfis-<version>-1-x86_64.pkg.tar.xz
```