summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik2024-03-19 12:51:16 +0100
committerErik2024-03-19 12:51:16 +0100
commit4a3217bb82dea73d3931a51076784496e938fc4a (patch)
tree060b3b2f2b5a7c2e357f6fe63464e748030747ee
parenta3264b47c502717f88afd4d70dd9a855715bf491 (diff)
downloadaur-4a3217bb82dea73d3931a51076784496e938fc4a.tar.gz
Changed package version to conform with new versioning in OpenLP
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0715acb4dbac..f50b3240561a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 5be37e191d19..8836d50894aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"