gpgme: update to 1.17.0
* Remove msysize patch by building as cygwin. * Remove install script in favour of hooks.
This commit is contained in:
parent
fc5dff58e2
commit
a44e6246bd
@ -2,7 +2,7 @@
|
||||
|
||||
pkgbase=gpgme
|
||||
pkgname=('libgpgme' 'libgpgme-devel' 'libgpgme-python')
|
||||
pkgver=1.16.0
|
||||
pkgver=1.17.0
|
||||
pkgrel=1
|
||||
pkgdesc="A C wrapper library for GnuPG"
|
||||
arch=('i686' 'x86_64')
|
||||
@ -11,11 +11,9 @@ license=('LGPL')
|
||||
depends=('libassuan' 'libgpg-error' 'gnupg')
|
||||
makedepends=('libassuan-devel' 'libgpg-error-devel' 'python-devel' 'swig' 'autotools' 'gcc')
|
||||
options=('!libtool' '!emptydirs')
|
||||
source=(https://gnupg.org/ftp/gcrypt/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2{,.sig}
|
||||
gpgme-1.4.2-msys2.patch)
|
||||
sha256sums=('6c8cc4aedb10d5d4c905894ba1d850544619ee765606ac43df7405865de29ed0'
|
||||
'SKIP'
|
||||
'7e9157aaebdc04fbf02d2470fc25d730fc873ec402bfb9f7be18501264d076f7')
|
||||
source=(https://gnupg.org/ftp/gcrypt/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2{,.sig})
|
||||
sha256sums=('4ed3f50ceb7be2fce2c291414256b20c9ebf4c03fddb922c88cda99c119a69f5'
|
||||
'SKIP')
|
||||
#These might be signed by any of these keys https://gnupg.org/signature_key.html
|
||||
validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6'
|
||||
'031EC2536E580D8EA286A9F22071B08A33BD3F06'
|
||||
@ -24,13 +22,14 @@ validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6'
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
patch -p1 -i ${srcdir}/gpgme-1.4.2-msys2.patch
|
||||
|
||||
autoreconf -ivf
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
|
||||
CHOST="${CHOST/-msys/-cygwin}" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
@ -54,7 +53,6 @@ check() {
|
||||
|
||||
package_libgpgme() {
|
||||
groups=('libraries')
|
||||
install=${pkgname}.install
|
||||
|
||||
mkdir -p ${pkgdir}/usr/{bin,share}
|
||||
cp -f ${srcdir}/dest/usr/bin/*.exe ${pkgdir}/usr/bin/
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
diff -Naur gpgme-1.4.2-cygwin/build-aux/config.guess gpgme-1.4.2/build-aux/config.guess
|
||||
--- gpgme-1.4.2-cygwin/build-aux/config.guess 2013-10-30 11:19:41.396200000 +0400
|
||||
+++ gpgme-1.4.2/build-aux/config.guess 2013-10-30 11:20:47.805400000 +0400
|
||||
@@ -844,6 +844,9 @@
|
||||
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
|
||||
echo x86_64-unknown-cygwin
|
||||
exit ;;
|
||||
+ amd64:MSYS*:*:* | x86_64:MSYS*:*:*)
|
||||
+ echo x86_64-unknown-msys
|
||||
+ exit ;;
|
||||
p*:CYGWIN*:*)
|
||||
echo powerpcle-unknown-cygwin
|
||||
exit ;;
|
||||
@ -1,26 +0,0 @@
|
||||
infodir=usr/share/info
|
||||
filelist="gpgme.info gpgme.info-1 gpgme.info-2"
|
||||
|
||||
post_install() {
|
||||
[ -x usr/bin/install-info ] || return 0
|
||||
local oldIFS=$IFS
|
||||
IFS=" "
|
||||
for file in ${filelist}; do
|
||||
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
|
||||
done
|
||||
IFS=$oldIFS
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
[ -x usr/bin/install-info ] || return 0
|
||||
local oldIFS=$IFS
|
||||
IFS=" "
|
||||
for file in ${filelist}; do
|
||||
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
|
||||
done
|
||||
IFS=$oldIFS
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user