blob: 55e9bdbcd02ae1b2386515637de6316b3cacda54 (
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 # Depends on: gpgme qt5
5
6 name=gpgme-qt5
7 version=1.13.1
8 release=1
9 source=(https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-$version.tar.bz2)
10
11 build() {
12 cd gpgme-$version
13
14 ./configure \
15 --prefix=/usr \
16 --enable-languages='cpp qt'
17
18 make
19 make DESTDIR=$PKG install
20
21 install -d $PKG/usr/etc/gpgme
22 echo qt > $PKG/usr/etc/gpgme/qt
23
24 rm \
25 $PKG/usr/bin/{gpgme-config,gpgme-tool,gpgme-json} \
26 $PKG/usr/include/gpgme.h \
27 $PKG/usr/lib/libgpgme.* \
28 $PKG/usr/lib/pkgconfig/gpgme.pc \
29 $PKG/usr/lib/pkgconfig/gpgme-glib.pc \
30 $PKG/usr/share/aclocal/gpgme.m4
31
32 rm $PKG/usr/lib/libgpgmepp.*
33 rm -r $PKG/usr/include/gpgme++ $PKG/usr/lib/cmake/Gpgmepp
34
35 rm -r $PKG/usr/share/info
36 }
|