summaryrefslogtreecommitdiff
path: root/repo/gpgme/gpgme.xibuild
blob: 920f2513b0f0e531cc32d108e4424c080385cd03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh

NAME="gpgme"
DESC="gnupg made easy"

MAKEDEPS="python swig libgpg-error libassuan qt5-qtbase gnupg"

PKG_VER=1.17.1
SOURCE="https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-$PKG_VER.tar.bz2"

ADDITIONAL="
0003-python310.patch
"

prepare () {
    apply_patches
}

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--enable-languages="cl cpp qt" \
		--enable-static \
        --disable-gpg-test \
        --disable-g13-test \
        --disable-gpgsm-test \
        --disable-gpgconf-test 
	make
}

package() {
	make DESTDIR="$PKG_DEST" install
}