summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 83d03c6eac9..a195e48147d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = otr-verwaltung3p-dev-git
pkgdesc = Manage your onlinetvrecorder.com files: cut, preview cuts, rate cutlists etc.
pkgver = 1.0.0.beta002.r1.g271f1e3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/EinApfelBaum/otr-verwaltung3p
arch = any
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 158315f5030..37b2208722c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=otr-verwaltung3p-dev-git
pkgver=1.0.0.beta002.r1.g271f1e3
-pkgrel=1
+pkgrel=2
pkgdesc='Manage your onlinetvrecorder.com files: cut, preview cuts, rate cutlists etc.'
arch=('any')
url='https://github.com/EinApfelBaum/otr-verwaltung3p'
@@ -29,6 +29,10 @@ pkgver() {
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare() {
+ echo ${pkgver} > "${srcdir}/${_gitname}/data/VERSION"
+ }
+
package() {
cd "${srcdir}/${_gitname}"
python setup.py install --prefix=/usr --root=${pkgdir} --optimize=1