[arch-commits] Commit in (piep piep/repos piep/trunk piep/trunk/PKGBUILD)

Felix Yan fyan at archlinux.org
Mon Apr 20 02:23:58 UTC 2015


    Date: Monday, April 20, 2015 @ 04:23:58
  Author: fyan
Revision: 131733

addpkg: piep 0.8.0-2

Added:
  piep/
  piep/repos/
  piep/trunk/
  piep/trunk/PKGBUILD

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

Added: piep/trunk/PKGBUILD
===================================================================
--- piep/trunk/PKGBUILD	                        (rev 0)
+++ piep/trunk/PKGBUILD	2015-04-20 02:23:58 UTC (rev 131733)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=piep
+pkgdesc='Bringing the power of python to stream editing'
+pkgver=0.8.0
+_tag=version-$pkgver
+pkgrel=2
+arch=("any")
+url="https://github.com/gfxmonk/piep"
+license=("GPL")
+depends=('python2-pygments' 'python2-setuptools')
+source=("https://github.com/gfxmonk/$pkgname/archive/$_tag.tar.gz")
+md5sums=('32dc3f9c4fb40eaf9a7ad3f9e92b82ce')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_tag"
+  sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' piep/main.py
+}
+
+package() {
+  cd "$srcdir/$pkgname-$_tag"
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


Property changes on: piep/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list