[arch-commits] Commit in jansson/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed May 4 09:02:47 UTC 2022
Date: Wednesday, May 4, 2022 @ 09:02:47
Author: arojas
Revision: 1192787
archrelease: copy trunk to community-x86_64
Added:
jansson/repos/community-x86_64/PKGBUILD
(from rev 1192786, jansson/trunk/PKGBUILD)
Deleted:
jansson/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 61 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 31 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-04 09:02:44 UTC (rev 1192786)
+++ PKGBUILD 2022-05-04 09:02:47 UTC (rev 1192787)
@@ -1,30 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Dave Reisner <d at falconindy.com>
-
-pkgname=jansson
-pkgver=2.14
-pkgrel=1
-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"
- ./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:
Copied: jansson/repos/community-x86_64/PKGBUILD (from rev 1192786, jansson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-04 09:02:47 UTC (rev 1192787)
@@ -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