[arch-commits] Commit in getmail/repos (testing-any testing-any/PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Tue Apr 3 15:39:01 UTC 2018


    Date: Tuesday, April 3, 2018 @ 15:39:00
  Author: andyrtr
Revision: 320899

archrelease: copy trunk to testing-any

Added:
  getmail/repos/testing-any/
  getmail/repos/testing-any/PKGBUILD
    (from rev 320898, getmail/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: getmail/repos/testing-any/PKGBUILD (from rev 320898, getmail/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2018-04-03 15:39:00 UTC (rev 320899)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Committer: Manolis Tzanidakis <manolis at archlinux.org>
+
+pkgname=getmail
+pkgver=5.6
+pkgrel=1
+pkgdesc="A POP3 mail retriever with reliable Maildir and command delivery."
+arch=(any)
+url="http://pyropus.ca/software/getmail"
+license=("GPL")
+depends=('python2')
+optdepends=('python2-gnomekeyring: for storing passwords in gnome-keyring')
+# no signature, no https
+source=(http://pyropus.ca/software/getmail/old-versions/$pkgname-$pkgver.tar.gz)
+sha256sums=('460d2c8834936df88d594095d789c4585edca9b0bdbeded9f6267f0d90dcd59a')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  # fix broken shebang calls
+  sed -i -e "s|#![ ]*/usr/bin/env python|#!/usr/bin/env python2|" getmailcore/__init__.py
+  sed -i -e "s|#![ ]*/usr/bin/env python2.3|#!/usr/bin/env python2|" $(find . -name '*.py')
+  # recheck
+  head -1 $(find . -name '*.py')
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  python2 setup.py build
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  python2 setup.py install --root=${pkgdir}
+}



More information about the arch-commits mailing list