[arch-commits] Commit in jose/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jonas Witschel diabonas at archlinux.org
Fri May 7 17:26:31 UTC 2021


    Date: Friday, May 7, 2021 @ 17:26:30
  Author: diabonas
Revision: 928649

archrelease: copy trunk to community-x86_64

Added:
  jose/repos/community-x86_64/PKGBUILD
    (from rev 928648, jose/trunk/PKGBUILD)
Deleted:
  jose/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   62 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 35 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-07 17:26:23 UTC (rev 928648)
+++ PKGBUILD	2021-05-07 17:26:30 UTC (rev 928649)
@@ -1,27 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-pkgname=jose
-pkgver=10
-pkgrel=3
-pkgdesc='C-language implementation of Javascript Object Signing and Encryption'
-arch=('x86_64')
-url='https://github.com/latchset/jose'
-license=('APACHE')
-depends=('jansson' 'openssl' 'zlib')
-source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2")
-sha512sums=('596f71bf7f3ab65164556d8353c07a09283e80ad06f8cbb7b1a9609fe3c95888c94c032ae8d719ed3f3b361cb87188f4683728e649d454056841b8ca47828b9d')
-
-build() {
-	cd "$pkgname-$pkgver"
-	./configure --prefix=/usr
-	make
-}
-
-check() {
-	cd "$pkgname-$pkgver"
-	make check
-}
-
-package() {
-	cd "$pkgname-$pkgver"
-	make DESTDIR="$pkgdir" install
-}

Copied: jose/repos/community-x86_64/PKGBUILD (from rev 928648, jose/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-07 17:26:30 UTC (rev 928649)
@@ -0,0 +1,35 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=jose
+pkgver=11
+_commit=145c41a4ec70c15f6f8aa12a915e16cb60f0991f # git rev-parse "v$pkgver^{}"
+pkgrel=1
+pkgdesc='C-language implementation of Javascript Object Signing and Encryption'
+arch=('x86_64')
+url='https://github.com/latchset/jose'
+license=('APACHE')
+depends=('jansson' 'openssl' 'zlib')
+makedepends=('git' 'asciidoc' 'meson')
+source=("git+$url.git?signed#commit=$_commit")
+sha512sums=('SKIP')
+validpgpkeys=('7CE2CB3D2AF59FE1EA22F551D0D219ED1F7E762C') # Sergio Correia <scorreia at redhat.com>
+
+pkgver() {
+	cd "$pkgname"
+	git describe --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
+}
+
+build() {
+	cd "$pkgname"
+	meson --prefix=/usr --buildtype=plain build
+	meson compile -C build
+}
+
+check() {
+	cd "$pkgname"
+	meson test -C build
+}
+
+package() {
+	cd "$pkgname"
+	DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list