summaryrefslogblamecommitdiff
path: root/user/libical/APKBUILD
blob: 6b51d3b78ac7c868cb9636b433627927caa6dabe (plain) (tree)
1
2
3
4
5
6
7
8
9
                                      
               
             
        


                                                          

                                  

                                                                  



                                                                                             


                                             
                                    
                                      



            



                                          


                                      
                                                                                                                                                                    
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=libical
pkgver=3.0.14
pkgrel=0
pkgdesc="Reference implementation of the iCalendar format"
url="https://libical.github.io/libical/"
arch="all"
license="MPL-2.0 OR LGPL-2.1-only"
depends=""
depends_dev="db-dev"
makedepends="$depends_dev cmake glib-dev icu-dev libxml2-dev perl"
subpackages="$pkgname-dev"
source="https://github.com/libical/libical/releases/download/v$pkgver/libical-$pkgver.tar.gz"

build() {
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DSHARED_ONLY=true \
		-DENABLE_GTK_DOC=OFF .
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="36da5516672976c71b049a12af36164d91f9b655f81f1884766558149f25e80c30e64d15da848842f8a629295d708f39ce6fa63a3b0da39b5cbeb91911a4e6d8  libical-3.0.14.tar.gz"