diff options
author | Erik | 2024-03-19 12:51:16 +0100 |
---|---|---|
committer | Erik | 2024-03-19 12:51:16 +0100 |
commit | 4a3217bb82dea73d3931a51076784496e938fc4a (patch) | |
tree | 060b3b2f2b5a7c2e357f6fe63464e748030747ee | |
parent | a3264b47c502717f88afd4d70dd9a855715bf491 (diff) | |
download | aur-4a3217bb82dea73d3931a51076784496e938fc4a.tar.gz |
Changed package version to conform with new versioning in OpenLP
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = openlp-git pkgdesc = Church presentation software. pkgver = r17869.ed7561bde - pkgrel = 1 + pkgrel = 2 url = http://openlp.org/ install = openlp.install arch = any @@ -5,7 +5,7 @@ pkgname=openlp-git _pkgbase=openlp pkgver=r17869.ed7561bde -pkgrel=1 +pkgrel=2 pkgdesc="Church presentation software." arch=('any') url='http://openlp.org/' @@ -48,7 +48,7 @@ package() { python setup.py install --root="$pkgdir/" --optimize=1 PYTHON_VERSION=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') TAG=$(git describe --tags --abbrev=0) - VERSION="${TAG}.$(git rev-list $TAG.. --count)-$(git rev-parse --short HEAD)" + VERSION="${TAG}+git.$(git rev-parse --short HEAD)" echo "$VERSION" > "$pkgdir/usr/lib/python${PYTHON_VERSION}/site-packages/openlp/.version" install -Dm0755 "$srcdir/openlp.sh" "$pkgdir/etc/profile.d/openlp.sh" |