[arch-commits] Commit in pastebinit/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Mon Feb 5 22:40:31 UTC 2018
Date: Monday, February 5, 2018 @ 22:40:30
Author: eschwartz
Revision: 289309
upgpkg: pastebinit 1.5-2
Add PGP signatures and HTTPS.
Move build stuff to build().
Modified:
pastebinit/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-05 22:39:50 UTC (rev 289308)
+++ PKGBUILD 2018-02-05 22:40:30 UTC (rev 289309)
@@ -4,27 +4,29 @@
pkgname=pastebinit
pkgver=1.5
-pkgrel=1
+pkgrel=2
pkgdesc="Send anything you want directly to a pastebin from the command line"
arch=('any')
-url="http://launchpad.net/pastebinit"
+url="https://launchpad.net/pastebinit"
license=("GPL")
depends=("python")
makedepends=("asciidoc")
-source=("http://launchpad.net/pastebinit/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
+source=("https://launchpad.net/pastebinit/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('47eb785fbea1089ad3dd80ec7f481c553da2599a6fb3c47f0bb0c3c776a79331c63e38d4c0494253571b40c9808dbeeed62d14048e328d8562ca536bd0815986'
+ 'SKIP')
+validpgpkeys=('602F567663E593BCBD14F338C638974D64792D67') # Stéphane Graber <stgraber at stgraber.org>
+build() {
+ cd ${pkgname}-${pkgver}
+ a2x -f manpage pastebinit.xml
+ make -C po
+}
+
package() {
cd ${pkgname}-${pkgver}
install -d "$pkgdir"/usr/{bin,share/man/man1,share/locale}
install -m 755 pastebinit "$pkgdir"/usr/bin
-
+ install -m 644 pastebinit.1 "$pkgdir"/usr/share/man/man1
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
+ cp -a po/mo/* "$pkgdir"/usr/share/locale
}
-
-sha512sums=('47eb785fbea1089ad3dd80ec7f481c553da2599a6fb3c47f0bb0c3c776a79331c63e38d4c0494253571b40c9808dbeeed62d14048e328d8562ca536bd0815986')
More information about the arch-commits
mailing list