Skip to content

Commit

Permalink
PKGBUILD tweaked
Browse files Browse the repository at this point in the history
  • Loading branch information
jasursadikov committed Oct 23, 2024
1 parent 647d663 commit ba56c4a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,10 @@ md5sums=('SKIP')

pkgver() {
cd "$srcdir/$_pkgname"
_ver=$(grep '^version =' pyproject.toml | cut -d '"' -f2)
_rev=$(git rev-list --count HEAD)
_commit=$(git rev-parse --short HEAD)
echo "${_ver}.r${_rev}.g${_commit}"
echo $(grep '^version =' pyproject.toml | cut -d '"' -f2)
}

build() {
cd "$srcdir/$_pkgname"
python -m build --wheel --no-isolation
}

Expand Down

0 comments on commit ba56c4a

Please sign in to comment.