48 lines
1.4 KiB
Bash
48 lines
1.4 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=nettle
|
|
pkgver=3.10
|
|
pkgrel=01
|
|
pkgdesc="A low-level cryptographic library"
|
|
url="https://www.lysator.liu.se/~nisse/nettle"
|
|
depends=('gmp' 'glibc')
|
|
provides=('libnettle.so' 'libhogweed.so')
|
|
checkdepends=('valgrind')
|
|
#options=('debug') ### Uncomment this line to have the debug package produced.
|
|
source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make -k check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('LGPL-3.0-or-later OR GPL-2.0-or-later')
|
|
|
|
validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse@lysator.liu.se>
|
|
|
|
sha256sums=(b4c518adb174e484cb4acea54118f02380c7133771e7e9beb98a0787194ee47c # nettle-3.10.tar.gz
|
|
5ea7223a71d3e1f56f5c7a2f6e1d1c5068c4e8992acba8b257b2a6c6c36e0619) # nettle-3.10.tar.gz.sig
|
|
|
|
## b8d66625ae288d2de75884a15133c18033780d56930c6b31e313620862afa06c nettle-3.10-01-x86_64.pkg.tar.lz
|
|
|