summaryrefslogtreecommitdiff
path: root/gnupg/Pkgfile
blob: 9dbf5614a6db498fe686af840644b5d8573d6ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description:	GNU's implementation of OpenPGP for secure communication and data storage
# URL:		https://gnupg.org/
# Maintainer:	Shokara Kou, kou at 13f0 dot net
# Depends on:	bzip2 curl openssl zlib

name=gnupg
version=1.4.23
release=1
source=(https://gnupg.org/ftp/gcrypt/$name/$name-$version.tar.bz2)

build() {
	cd $name-$version

	# workaround for gcc 10
	CFLAGS="${CFLAGS} -fcommon" ./configure \
		--prefix=/usr \
		--disable-nls

	make
	make DESTDIR=$PKG install

	rm -fr $PKG/usr/share/doc
}