summaryrefslogblamecommitdiff
path: root/user/mimetic/APKBUILD
blob: 40ce81de336159249a71e16a3325a0c95c8861e5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                           

               
        
                                         
                                                        


             
                     
                          
                                                                
                         
                        
                     


           




                         










                                         



                  

                                      

                                                                                                                                                                  
                                                                                                                                                   

                                                                                                                                                  
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=mimetic
pkgver=0.9.8
pkgrel=1
pkgdesc="C++ library for processing MIME"
url="https://www.codesink.org/mimetic_mime_library.html"
arch="all"
license="MIT"
depends=""
makedepends="doxygen"
subpackages="$pkgname-dev"
source="https://www.codesink.org/download/mimetic-$pkgver.tar.gz
	fix-compile.patch
	signedness.patch
	nullptr.patch
	"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="4157eecb3e26af314d475c91192a357d6da35271a07a07b037d5037e9af84952ce2636874e86df0e94e8887dcfdb8f594a1ba04e6448181e436b0e2675f48f58  mimetic-0.9.8.tar.gz
26badbaea0e9392080ece1cfda41d16a4fa87850e92edb4120e0a080fcebeeebaf28adb0fc73ba56ecacfc670bc315b2255c9c101471beb09068b1b4c4c8c473  fix-compile.patch
d92c719134064e545e7b63f56bfc6b2898c82766a4540230ac5273b1380ef4546d220d95faa99d7b9c01508650a361b7473ad74c9a79262cb423277ca83a36b2  signedness.patch
716d5b15e4e7734fc63b3bbdb0651fa45f2a89d745084788b4db7cf46a17ba30dc5d1290f8c514089dce12376e51110b8b0850bb3a87e06d024c93145fd2d5fc  nullptr.patch"