summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgcurse2020-02-22 14:44:57 +0100
committergcurse2020-02-22 14:44:57 +0100
commit175a67b4d14cd617b1c36a55ce2947b769bb6753 (patch)
tree146a1f3e47de5d98700b06fa8ae20638033e7277
parentd3e5403911e7df57d69ba4b054864651027e0599 (diff)
downloadaur-175a67b4d14cd617b1c36a55ce2947b769bb6753.tar.gz
Updated pkgrel
-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