New comment by leetnc on void-packages repository https://github.com/void-linux/void-packages/issues/21359#issuecomment-628808447 Comment: @biospin For reference, these are the templates that I ended up with for Osmo and libgringotts. Not sure I got everything right, but it was good learning exercise for using xbps-src. I had left an issue comment on void-packages, but suspect that I did not manage to copy an e-mail to you. On Tue, Apr 28, 2020 at 10:49 PM biopsin wrote: > Good to read! xbps-src is such a delight to use. If you get stuck in > anyway, either search the templates here for hints or always ask the peeps > on the wire. > Still need to test against musl and pack libgringotts for the backup to > function, but you are welcome to beat me to it :D .. (memo: add ical to > defaults) > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > , > or unsubscribe > > . > # Template file for 'libgringotts' pkgname=libgringotts version=1.2.1 revision=1 build_style=gnu-configure configure_args="--prefix=/usr" hostmakedepends="pkg-config" #makedepends="gtk+3-devel libxml2-devel libnotify-devel $(vopt_if contacts webkit2gtk-devel) #makedepends="libmcrypt-devel libmhash-devel zlib-devel bzip2-devel" makedepends="libmcrypt-devel mhash-devel zlib-devel bzip2-devel" short_desc="libgringotts is a small, easy-to-use, thread-safe C library originally developed for Gringotts" maintainer="user" license="GPL-2.0-or-later" homepage="libgringotts.sourceforge.net/index.php?page=home" distfiles="https://sourceforge.net/projects/gringotts.berlios/files/$pkgname-$version.tar.bz2" checksum=a75e6f757b975d3da662fe7ea2d985f358f31ad2dede1a222bb4aa403d0dbfd1 #libgringotts-devel is a subpkg libgringotts-devel_package() { short_desc+=" - development files" depends=${sourcepkg}>=${version}_${revision} pkg_install() { vmove usr/include vmove "usr/lib/*.a" vmove "usr/lib/*.so" vmove usr/lib/pkgconfig } } # Template file for 'osmo' pkgname=osmo version=0.4.2 revision=1 build_style=gnu-configure configure_args="--prefix=/usr" hostmakedepends="pkg-config" makedepends="gtk+3-devel libxml2-devel libnotify-devel $(vopt_if contacts webkit2gtk-devel) $(vopt_if gspell gspell-devel) $(vopt_if ical libical-devel) $(vopt_if backup 'libarchive-devel libgringotts-devel')" short_desc="Personal organizer, calendar, tasks manager, address book and notes" maintainer="user" license="GPL-2.0-or-later" homepage="http://clayo.org/osmo/" distfiles="${SOURCEFORGE_SITE}/osmo-pim/files/latest/$pkgname-$version.tar.gz" checksum=5b50e5b98daea986e18034ee1ef8f70ee2018be0802f6053c6d74d2613274dbe build_options="contacts gspell ical backup" build_options_default="contacts gspell ical backup" desc_option_contacts="Enable contacts, depends on webkit2gtk" desc_option_gspell="Enable gspell, depends on gspell-devel" desc_option_ical="Enable ical" desc_option_backup="Enable backup, depends on libarchive-devel libgringotts-devel"