Date: Friday, January 17, 2014 @ 08:04:44
  Author: fyan
Revision: 104287

archrelease: copy trunk to community-testing-any

Added:
  pastebinit/repos/community-testing-any/
  pastebinit/repos/community-testing-any/PKGBUILD
    (from rev 104286, pastebinit/trunk/PKGBUILD)

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

Copied: pastebinit/repos/community-testing-any/PKGBUILD (from rev 104286, 
pastebinit/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2014-01-17 07:04:44 UTC (rev 104287)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=pastebinit
+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=("python")
+makedepends=("asciidoc")
+source=("http://launchpad.net/pastebinit/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz";)
 
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -d "$pkgdir"/usr/{bin,share/man/man1,share/locale}
+  install -m 755 pastebinit "$pkgdir"/usr/bin
+
+  cp -a pastebin.d "$pkgdir"/usr/share
+  a2x -f manpage pastebinit.xml
+  install -m 644 pastebinit.1 "$pkgdir"/usr/share/man/man1
+
+  cd po
+  make
+  cp -a mo/* "$pkgdir"/usr/share/locale
+}
+
+sha512sums=('79c8953cc960482b6a8b9f1d2deb73d113181ba525f2835a2b38ae36a87e8648af2d229bb382703035a8b07e2dd7aae46fed9f6e3368e2546c3e4ba5bff88d66')

Reply via email to