# Maintainer: Rémi BERTHO # Contributor: Rémi BERTHO pkgname=libcsuper pkgver=4.4.3 pkgbuild=1 pkgrel=1 pkgdesc="Universal points counter allowing reflexion exemption - Library" arch=(any) url="https://www.dalan.fr" license=('GPL') depends=('libxml++' 'glibmm' 'muparser' 'podofo' 'cairo') makedepends=('cmake') install="INSTALL" source=(https://www.binaries.dalan.fr/Csuper/$pkgver/csuper-$pkgver-$pkgbuild-sources.tar.xz) sha512sums=('5fbf3eb8f18a26543dfc3a9beffc7b79bd150daec4b73d9a0b4cc16b0b2f8826b9dc6f6dfc548ed0262ce0bb5badf2ab94b95f00be0abfd3911307df429c3d80') build() { cd "$srcdir/csuper-$pkgver-$pkgbuild-sources" cmake -G"Unix Makefiles" \ -DALL_UPDATES=FALSE \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_SKIP_RPATH=True \ -DCLI=FALSE \ -DGTK=FALSE \ -DLIBXMLPP=3.0 || return 1 make || return 1 sh utility.sh -c } package() { cd "$srcdir/csuper-$pkgver-$pkgbuild-sources" make install DESTDIR="${pkgdir}" }