blob: 43629761e6fa3dbcf90be79cb890bda162126b26 (
plain)
1 # Description: gpgme bindings for qt5.
2 # URL: http://www.gnupg.org/gpgme.html
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Danny Rawlins, crux at romster dot me
5 # Depends on: gpgme qt5
6
7 name=gpgme-qt5
8 version=1.8.0
9 release=1
10 source=(https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-$version.tar.bz2
11 gpgme-1.1.8-et_EE.patch
12 gpgme-1.8.0-cmake.patch)
13
14 build() {
15 cd gpgme-$version
16
17 patch -p1 -i $SRC/gpgme-1.1.8-et_EE.patch
18 patch -p1 -i $SRC/gpgme-1.8.0-cmake.patch
19
20 ./configure \
21 --prefix=/usr \
22 --enable-languages='cpp qt'
23
24 make
25 make DESTDIR=$PKG install
26
27 install -d $PKG/usr/etc/gpgme
28 echo qt > $PKG/usr/etc/gpgme/qt
29
30 rm \
31 $PKG/usr/bin/{gpgme-config,gpgme-tool} \
32 $PKG/usr/include/gpgme.h \
33 $PKG/usr/lib/libgpgme.* \
34 $PKG/usr/share/aclocal/gpgme.m4
35
36 rm $PKG/usr/lib/libgpgmepp.*
37 rm -r $PKG/usr/include/gpgme++ $PKG/usr/lib/cmake/Gpgmepp
38
39 rm -r $PKG/usr/share/info
40 }
|