diff options
author | Kyle Manna | 2015-10-28 23:29:57 -0700 |
---|---|---|
committer | Kyle Manna | 2015-12-03 18:20:28 -0800 |
commit | 742d38fa37aafa98d1a41524fd77665e376e7e63 (patch) | |
tree | db488c19d0c15f27bb24a2eb683a7fb28238dc46 | |
parent | d41f4aadf4a0018d7737b6dfc946ce5bc9492855 (diff) | |
download | aur-742d38fa37aafa98d1a41524fd77665e376e7e63.tar.gz |
pkgrel: Hardcode python2
* Someday the world will agree with us.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = backblaze-b2 pkgdesc = Backblaze B2 Command Line Client pkgver = 0.3.0 - pkgrel = 1 + pkgrel = 2 url = https://www.backblaze.com/b2/cloud-storage.html arch = any license = MIT @@ -1,7 +1,7 @@ # Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com> pkgname=backblaze-b2 pkgver=0.3.0 -pkgrel=1 +pkgrel=2 pkgdesc="Backblaze B2 Command Line Client" url="https://www.backblaze.com/b2/cloud-storage.html" depends=('python') @@ -15,6 +15,10 @@ source=("https://docs.backblaze.com/public/b2_src_code_bundles/b2") sha512sums=('29384d8d271c0b595ca922819683de2ae235dfd6725ce979f8d50efb0727063df516247e681e2445de84f1f16e29e67f4c447f714cf1a4461d52da297e16dbc5') package() { + # Hardcode python2, converting is frivilous + # I started to convert it but after 2to3, decode() I gave up + sed -ie 's:^#\! /usr/bin/python$:#! /usr/bin/env python2:' b2 + # Installed to backblaze-b2 because the Boost pkg installs /usr/bin/b2 install -D ${srcdir}/b2 ${pkgdir}/usr/bin/backblaze-b2 } |