summaryrefslogblamecommitdiff
path: root/user/gmime/APKBUILD
blob: 659a0d1b184231ca89fcea6c9c3f726ff13bb1f4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                            
                                                 
             
            






                                            
                    
                                                    

                                                                                        






                                

         











                                   
         



                  


                                      
                                                                                                                                                                
                                                                                                                                                           
# Contributor: Luis Ressel <aranea@aixah.de>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gmime
pkgver=3.2.6
pkgrel=0
pkgdesc="MIME utility library"
url="https://developer.gnome.org/gmime/"
arch="all"
license="LGPL-2.1+"
depends=""
depends_dev="gpgme-dev libidn2-dev zlib-dev"
checkdepends="gnupg"
makedepends="$depends_dev autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
	3.2.3-broken-tests.patch
	"

prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--enable-crypto \
		--disable-vala \
		--with-gpgme \
		--with-libidn
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="a60d3f9f1aa8490865c22cd9539544e9c9f3ceb4037b9749cf9e5c279f97aa88fc4cd077bf2aff314ba0db2a1b7bbe76f9b1ca5a17fffcbd6315ecebc5414a3d  gmime-3.2.6.tar.xz
443e768e15eb25116368739957ac31a30cd10a921c113b76af1a0baf0c690ca1346463577289d24ce8f46deb014dd014040033bc1f3d02d8a2190c70dd4c2a74  3.2.3-broken-tests.patch"