[arch-commits] Commit in bleachbit/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Mar 20 07:20:57 UTC 2019
Date: Wednesday, March 20, 2019 @ 07:20:57
Author: arojas
Revision: 442832
Update to 2.2
Modified:
bleachbit/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-20 02:50:51 UTC (rev 442831)
+++ PKGBUILD 2019-03-20 07:20:57 UTC (rev 442832)
@@ -7,7 +7,7 @@
# Contributor: Nuno Araujo <nuno.araujo at russo79.com>
pkgname=bleachbit
-pkgver=2.0
+pkgver=2.2
pkgrel=1
pkgdesc='Deletes unneeded files to free disk space and maintain privacy'
arch=(any)
@@ -14,17 +14,12 @@
url='https://www.bleachbit.org/'
license=(GPL3)
depends=(pygtk)
+makedepends=(python)
source=(https://download.bleachbit.org/$pkgname-$pkgver.tar.bz2)
-sha256sums=('e9b7bec39574af68e64bf1a0fa70cbebc421a18978fa83974878044bfa47495f')
+sha256sums=('0318cd1bc83655971c9ffd6bf27f4866bbe57381e92cfbcf8a2a6833075b49fa')
package() {
cd $pkgname-$pkgver
- for file in $(find . -name '*.py' -print); do
- sed -i -e 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' \
- -e 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' "$file"
- done
- sed -i 's/python/python2/g' Makefile
-
make prefix=/usr DESTDIR="$pkgdir" PYTHON=python2 install
}
More information about the arch-commits
mailing list