summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
author0x9fff002021-06-12 17:19:45 +0200
committer0x9fff002021-06-12 17:19:45 +0200
commit87c1bb5e64c3863556da2d0f3366665a390a3716 (patch)
tree85602adb33a827f1f68fb3c3aa33e066b114b1a3 /PKGBUILD
parent25b820a4ff278a7aacd2d4f35b9928785c6f635c (diff)
downloadaur-87c1bb5e64c3863556da2d0f3366665a390a3716.tar.gz
update source url
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 741a26c103c..8de975ceacf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,6 @@ _pipname=Flask-APScheduler
_reponame=${_pipname,,}
pkgname=python-$_reponame
pkgver=1.12.2
-_gitver=1.2.2
pkgrel=1
pkgdesc='Adds APScheduler support to Flask'
arch=('any')
@@ -14,15 +13,13 @@ url="https://github.com/viniciuschiele/$_reponame"
license=('Apache')
depends=('python' 'python-apscheduler' 'python-dateutil' 'python-flask')
makedepends=('python-setuptools')
-# source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz"
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
'0001-Don-t-install-LICENSE-file.patch')
-sha256sums=('4a3745c3c9298bfec0d43bf500669df93386d1186f4a10eb48c5f3ce1c3d7e33'
+sha256sums=('7a2dd7b2fc1c8690f62eac9a62f08d5a3a30de1ab47b5799cf5beec6732af0a0'
'cc851fa535e506092c4901d2042e5f9b0ac2e6933808d6176825fc172e3498ba')
prepare() {
- # cd "$_reponame-$pkgver"
- cd "$_reponame-$_gitver"
+ cd "$_reponame-$pkgver"
for p in "$srcdir"/*.patch; do
patch -Np1 -i "$p"
@@ -30,15 +27,13 @@ prepare() {
}
build() {
- # cd "$_reponame-$pkgver"
- cd "$_reponame-$_gitver"
+ cd "$_reponame-$pkgver"
python setup.py build
}
package() {
- # cd "$_reponame-$pkgver"
- cd "$_reponame-$_gitver"
+ cd "$_reponame-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}