Date: Thursday, October 10, 2019 @ 16:17:29 Author: diabonas Revision: 514473
archrelease: copy trunk to community-x86_64 Added: jose/repos/community-x86_64/ jose/repos/community-x86_64/PKGBUILD (from rev 514472, jose/trunk/PKGBUILD) ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Copied: jose/repos/community-x86_64/PKGBUILD (from rev 514472, jose/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2019-10-10 16:17:29 UTC (rev 514473) @@ -0,0 +1,27 @@ +# Maintainer: Jonas Witschel <diabo...@archlinux.org> +pkgname=jose +pkgver=10 +pkgrel=2 +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 +}