Date: Friday, April 12, 2019 @ 18:32:44
  Author: arojas
Revision: 350652

https

Modified:
  scons/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-04-12 18:31:55 UTC (rev 350651)
+++ PKGBUILD    2019-04-12 18:32:44 UTC (rev 350652)
@@ -5,26 +5,22 @@
 
 pkgname=scons
 pkgver=3.0.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Extensible Python-based build utility"
 arch=('any')
-url="http://scons.org";
+url="https://scons.org";
 license=('MIT')
-depends=('python2')
-makedepends=('python2-setuptools')
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
 sha256sums=('e2b8b36e25492720a05c0f0a92a219b42d11ce0c51e3397a1e8296dfea1d9b1a')
 
 package() {
   cd $pkgname-$pkgver
 
-  python2 setup.py install --standard-lib \
+  python setup.py install --standard-lib \
                           --prefix=/usr \
                           --install-data=/usr/share \
                           --optimize=1 \
                           --root="$pkgdir"
-
-  # fix for python 2.7
-  sed -i 's:^#!.*bin/env python:#!/usr/bin/env python2:' \
-    "$pkgdir"/usr/bin/*
 }

Reply via email to