[arch-commits] Commit in jansson/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Frederik Schwan
freswa at gemini.archlinux.org
Sat Aug 6 14:58:09 UTC 2022
Date: Saturday, August 6, 2022 @ 14:58:08
Author: freswa
Revision: 452343
archrelease: copy trunk to extra-x86_64
Added:
jansson/repos/extra-x86_64/
jansson/repos/extra-x86_64/PKGBUILD
(from rev 452342, jansson/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: jansson/repos/extra-x86_64/PKGBUILD (from rev 452342, jansson/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2022-08-06 14:58:08 UTC (rev 452343)
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dave Reisner <d at falconindy.com>
+
+pkgname=jansson
+pkgver=2.14
+pkgrel=2
+pkgdesc='C library for encoding, decoding and manipulating JSON data'
+arch=('x86_64')
+url='https://www.digip.org/jansson/'
+depends=('glibc')
+license=('MIT')
+options=('staticlibs')
+source=("https://github.com/akheron/jansson/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
+sha256sums=('5798d010e41cf8d76b66236cfb2f2543c8d082181d16bc3085ab49538d4b9929'
+ 'SKIP')
+validpgpkeys=('B5D6953E6D5059ED7ADA0F2FD3657D24D058434C') # Petri Lehtinen <petri at digip.org>
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ CFLAGS+=' -ffat-lto-objects' \
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list