diff options
author | Hyacinthe Cartiaux | 2017-12-06 10:46:13 +0100 |
---|---|---|
committer | Hyacinthe Cartiaux | 2017-12-06 10:46:13 +0100 |
commit | f00c60250511de42741fd388e58166afa2e7ce4e (patch) | |
tree | da78857feb4196e6f8273e54a842c83ab2dfa837 | |
parent | 7d26db35e9818878ae9c66b4fe1f685e44c97bf2 (diff) | |
download | aur-f00c60250511de42741fd388e58166afa2e7ce4e.tar.gz |
Revert "Pkgrel bump: remove the prepare() function"
This reverts commit 7d26db35e9818878ae9c66b4fe1f685e44c97bf2.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 8 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sun Oct 8 19:56:02 UTC 2017 +# Fri Oct 6 12:06:30 UTC 2017 pkgbase = episoder pkgdesc = A simple TV show episode reminder pkgver = 0.8.3 - pkgrel = 2 + pkgrel = 1 url = https://github.com/cockroach/episoder arch = any license = GPL2 @@ -3,7 +3,7 @@ pkgname=episoder pkgver=0.8.3 -pkgrel=2 +pkgrel=1 pkgdesc="A simple TV show episode reminder" arch=('any') url="https://github.com/cockroach/episoder" @@ -15,6 +15,11 @@ depends=('python-sqlalchemy' source=(https://github.com/cockroach/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz) sha256sums=('72c9dd45a2fcfb01ae56885e1d7358de327e5ef63a5d0a788a4509b4de5e26d7') +prepare() { + cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}" + sed -i 's|files.append((path.join("doc", "episoder", "examples"), \["home.episoder"\]))|files.append("examples/home.episoder")|' setup.py +} + build() { cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}" python setup.py build |