void-packages/srcpkgs/azpainter/template

31 lines
1.0 KiB
Bash

# Template file for 'azpainter'
pkgname=azpainter
version=3.0.6
revision=1
build_style=configure
configure_args="--prefix=/usr"
hostmakedepends="pkg-config ninja"
makedepends="fontconfig-devel libXcursor-devel libXi-devel libXrender-devel
libjpeg-turbo-devel libpng-devel libwebp-devel tiff-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Full-color painting software for illustration drawing"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="GPL-3.0-or-later"
homepage="http://azsky2.html.xdomain.jp/soft/azpainter.html"
distfiles="https://gitlab.com/azelpg/azpainter/-/archive/v${version}/azpainter-v${version}.tar.gz"
checksum=0b724f043246cadacff47885712e5e0cf35ee993c97261b83c4ff1bfd6a80d33
post_patch() {
# attempts to run commands not suited for building process
# (gtk-update-icon-cache, update-desktop-database, update-mime-database)
vsed -i install.sh.in -e '/update_cache$/d'
}
do_build() {
ninja -C build ${makejobs}
}
do_install() {
DESTDIR=${DESTDIR} ninja -C build install
}