35 lines
792 B
Text
35 lines
792 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=gnupg2
|
|
version=2.2.20
|
|
build=2sml
|
|
homepage="https://gnupg.org/"
|
|
download="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-$version.tar.bz2"
|
|
desc="The GNU Privacy Guard version 2.x"
|
|
requires="bzip2 sqlite libassuan readline libksba libusb gnutls npth"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf gnupg-$version
|
|
|
|
tar xf $srcdir/gnupg-$version.tar.?z*
|
|
cd gnupg-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix="" \
|
|
--sbindir=/bin \
|
|
--docdir="/share/doc/$app-$version"
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING* $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
f73470e4e17bf634e8cc5d680492df21a166c0b1b6ad352c4c0115e7f95c7347bed07b662d0a52ac201f86681db6deeb01b3fda81120f3326d51fe604ff12916 gnupg-2.2.20.tar.lz
|
|
"
|