aboutsummaryrefslogblamecommitdiffstats
path: root/community/gmime/APKBUILD
blob: bea981ed4168e9cb3719f206b4d763cdc425db48 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                               
             
            
        

                                        
          
                           
               



                                                                                      

         



                                 

                                   
            

 



                  
           
                                      

 
                                                                                                                                                                 
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gmime
pkgver=3.2.7
pkgrel=2
pkgdesc="Glorious MIME Utility Library"
url="https://github.com/jstedfast/gmime"
arch="all"
license="LGPL-2.1-or-later"
depends="gpgsm"
makedepends="glib-dev gpgme-dev libnsl-dev libidn2-dev vala gobject-introspection-dev"
options="!check" # https://github.com/jstedfast/gmime/issues/63
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/gmime/${pkgver%.*}/gmime-$pkgver.tar.xz"

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

check() {
	make check
}

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

sha512sums="2c8fecd6eb74c9e956c419ce111bef6280916ea3756a534b6b800a273f0fff260717cda7fefd4bd4c6ddb27973112ec6e73fa971fa74bb9aa04cfe587d45f10b  gmime-3.2.7.tar.xz"