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

Felix Yan fyan at nymeria.archlinux.org
Fri Jan 17 07:04:02 UTC 2014


    Date: Friday, January 17, 2014 @ 08:04:02
  Author: fyan
Revision: 104286

upgpkg: pastebinit 1.4-1

- upstream new release

Modified:
  pastebinit/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-17 05:32:17 UTC (rev 104285)
+++ PKGBUILD	2014-01-17 07:04:02 UTC (rev 104286)
@@ -3,23 +3,19 @@
 # Contributor: Francois Boulogne <fboulogne at april dot org>
 
 pkgname=pastebinit
-pkgver=1.3.1
-pkgrel=3
+pkgver=1.4
+pkgrel=1
 pkgdesc="Send anything you want directly to a pastebin from the command line"
 arch=('any')
 url="http://launchpad.net/pastebinit"
 license=("GPL")
-depends=("python2" "python2-configobj")
+depends=("python")
 makedepends=("asciidoc")
 source=("http://launchpad.net/pastebinit/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz") 
-md5sums=('ebe0f8f118519d3505eabe0f48a10ad5')
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
   install -d "$pkgdir"/usr/{bin,share/man/man1,share/locale}
-
-  #python 2
-  sed -i -e "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" pastebinit
   install -m 755 pastebinit "$pkgdir"/usr/bin
 
   cp -a pastebin.d "$pkgdir"/usr/share
@@ -30,3 +26,5 @@
   make
   cp -a mo/* "$pkgdir"/usr/share/locale
 }
+
+sha512sums=('79c8953cc960482b6a8b9f1d2deb73d113181ba525f2835a2b38ae36a87e8648af2d229bb382703035a8b07e2dd7aae46fed9f6e3368e2546c3e4ba5bff88d66')




More information about the arch-commits mailing list