temp/gpgme: add again and update (!122)
Turns out we do need to fork this aport, as it builds qgpgme, which Alpine's aport does not build as of now. Updated to 1.12.0 and changed the pkgver to 9999, so it does not conflict with Alpine's aport.
This commit is contained in:
parent
14bb25ebe1
commit
b08b250cd1
1 changed files with 57 additions and 0 deletions
57
temp/gpgme/APKBUILD
Normal file
57
temp/gpgme/APKBUILD
Normal file
|
@ -0,0 +1,57 @@
|
|||
# Forked from Alpine to build qgpgme
|
||||
pkgname=gpgme
|
||||
pkgver=9999
|
||||
_pkgver=1.12.0
|
||||
pkgrel=0
|
||||
pkgdesc="gnupg made easy"
|
||||
url="http://www.gnupg.org/related_software/gpgme/"
|
||||
arch="all"
|
||||
license="GPL"
|
||||
depends="gnupg"
|
||||
depends_dev="libgpg-error-dev libassuan-dev qt5-qtbase-dev"
|
||||
makedepends="$depends_dev"
|
||||
subpackages="$pkgname-dev $pkgname-doc gpgmepp qgpgme"
|
||||
source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$_pkgver.tar.bz2"
|
||||
builddir="$srcdir"/gpgme-$_pkgver
|
||||
options="!check"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
--localstatedir=/var
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
cd lang/qt
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make check
|
||||
}
|
||||
|
||||
gpgmepp() {
|
||||
pkgdesc="C++ bindings for GPGME"
|
||||
mkdir -p "$subpkgdir"/usr/lib
|
||||
mv "$pkgdir"/usr/lib/libgpgmepp.so.* "$subpkgdir"/usr/lib/
|
||||
}
|
||||
|
||||
qgpgme() {
|
||||
pkgdesc="Qt bindings for GPGME"
|
||||
|
||||
mkdir -p "$subpkgdir"/usr/lib
|
||||
mv "$pkgdir"/usr/lib/libqgpgme.so* "$subpkgdir"/usr/lib/
|
||||
}
|
||||
|
||||
|
||||
sha512sums="c228b3df28377df882be536ada56dc9c73150048a58e591aa4495f89c854af95820152cd60139840f994c249e9c7df50d8b89eb9d6dc4ce02aa80bbfebcdd014 gpgme-1.12.0.tar.bz2"
|
Loading…
Reference in a new issue