summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
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