summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 2 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b8f2486e4739..a66f162f5e3a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,7 @@ pkgbase = peepdf
arch = any
license = GPL3
makedepends = git
- depends = python2
+ depends = python
source = peepdf-0.4.2.tar.gz::https://github.com/jbremer/peepdf/archive/0.4.2.tar.gz
sha256sums = cbce99242f507ef9526a4245b7692c15eaf12b21c8635d192ea2fcfb7d5e3390
diff --git a/PKGBUILD b/PKGBUILD
index e81190a63520..90e9d73ccb3a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,15 +9,10 @@ arch=('any')
url=https://github.com/jbremer/peepdf
license=('GPL3')
makedepends=('git')
-depends=('python2')
+depends=('python')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('cbce99242f507ef9526a4245b7692c15eaf12b21c8635d192ea2fcfb7d5e3390')
-prepare() {
- cd $pkgname-$pkgver
- find -name '*.py' -exec sed -i 's/env python$/env python2/' '{}' \;
-}
-
package() {
cd $pkgname-$pkgver