[arch-commits] Commit in jshon/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 13:30:34 UTC 2020
Date: Tuesday, July 7, 2020 @ 13:30:34
Author: felixonmars
Revision: 658487
archrelease: copy trunk to community-staging-x86_64
Added:
jshon/repos/community-staging-x86_64/
jshon/repos/community-staging-x86_64/PKGBUILD
(from rev 658486, jshon/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: jshon/repos/community-staging-x86_64/PKGBUILD (from rev 658486, jshon/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 13:30:34 UTC (rev 658487)
@@ -0,0 +1,23 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+pkgname=jshon
+pkgver=20131105
+pkgrel=4
+pkgdesc="A json parser for the shell."
+arch=('x86_64')
+url="http://kmkeen.com/jshon/"
+license=('MIT')
+depends=('jansson')
+source=(http://kmkeen.com/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('84596bcf2d6cde7bbc0fcb4626765b99')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list