mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 10:14:36 +08:00
38 lines
927 B
Bash
38 lines
927 B
Bash
pkgname=gpgme
|
|
pkgver=1.10.0
|
|
pkgrel=1
|
|
pkgdesc="A C wrapper library for GnuPG"
|
|
arch=('x86_64')
|
|
url="http://www.gnupg.org/related_software/gpgme/"
|
|
license=('LGPL')
|
|
depends=('libgpg-error' 'gnupg' 'python3')
|
|
makedepends=('swig' 'qt5-base')
|
|
optdepends=('qt5-base: for Qt binding (qgpgme) to work')
|
|
options=('!emptydirs')
|
|
provides=('qgpgme' 'python-gpgme' 'python3-gpgme') # Arch complementary
|
|
source=(https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
|
|
md5sums=('78b1533c593478982ee2fc548260c563'
|
|
'SKIP')
|
|
validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --disable-fd-passing --disable-static \
|
|
--disable-gpgsm-test
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${pkgname}-${pkgver}
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|