summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgcurse2020-05-22 19:57:23 +0200
committergcurse2020-05-22 19:57:23 +0200
commite89062aa0dd98959286652846f2d9a0c5e2ea0aa (patch)
tree2b11671169d78fca4267528d3005e9d832fbe124
parent359984522582878611ca4a036c7225641225a286 (diff)
downloadaur-e89062aa0dd98959286652846f2d9a0c5e2ea0aa.tar.gz
pkgver() updated
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 5 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8f5a8599773..f325e0303ef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = otr-verwaltung3p-dev-git
pkgdesc = Manage your onlinetvrecorder.com files: cut, preview cuts, rate cutlists etc.
- pkgver = 1.0.0.beta002.r5.g1fcc696
+ pkgver = 1.0.0b3.r0.g4ed8b41
pkgrel = 1
url = https://github.com/EinApfelBaum/otr-verwaltung3p
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index f8456d7fd73..a5b5081a999 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: gCurse <gcurse at web de>
pkgname=otr-verwaltung3p-dev-git
-pkgver=1.0.0.beta002.r5.g1fcc696
+pkgver=1.0.0b3.r0.g4ed8b41
pkgrel=1
pkgdesc='Manage your onlinetvrecorder.com files: cut, preview cuts, rate cutlists etc.'
arch=('any')
@@ -26,13 +26,11 @@ _gitname='otr-verwaltung3p'
pkgver() {
cd "${srcdir}/${_gitname}"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git_version=$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
+ # echo $git_version > data/VERSION-git
+ echo $git_version
}
-prepare() {
- echo ${pkgver} > "${srcdir}/${_gitname}/data/VERSION"
- }
-
package() {
cd "${srcdir}/${_gitname}"
python setup.py install --prefix=/usr --root=${pkgdir} --optimize=1