#Packager: Panagiotis Papasotiriou pkgname=gtk-fortran pkgver=4.5.0 pkgrel=1pp source=("https://github.com/vmagnin/gtk-fortran/archive/refs/tags/v$pkgver.tar.gz") sourcetemplate=http://people.salixos.org/papasot/slackel/$pkgname url="https://github.com/vmagnin/gtk-fortran" docs=("README.md README-high-level.md CHANGELOG.md LICENSE_EXCEPTION CITATION.cff") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "GTK+ binding to build Graphical User Interfaces in Fortran" "The gtk-fortran project aims to offer scientists programming in" "Fortran a cross-platform library to build Graphical User Interfaces" "(GUI)." "Gtk-fortran is a partial GTK/Fortran binding 100% written in Fortran." "A set of of high-level Fortran interfaces to the GTK widget system is" "also included, designed to make GUI construction more accessible." "It is licensed under GPLv3 with GCC Runtime Library Exception." "" "HomePage: https://github.com/vmagnin/gtk-fortran" ) build() { cd $startdir/src/$pkgname-$pkgver mkdir -p build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_SHARED_LIBS=ON \ -DNO_BUILD_EXAMPLES=true \ -DCMAKE_BUILD_TYPE=Release .. make -j $numjobs || exit 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver/tutorials cd .. cp -r ./tutorials $startdir/pkg/usr/doc/$pkgname-$pkgver }