void-packages/srcpkgs/mtpaint/template
2021-02-07 19:08:25 -03:00

26 lines
912 B
Bash

# Template file for 'mtpaint'
pkgname=mtpaint
version=3.50.05
revision=1
_commit=96cd3788c4f89973350981dbc71d449cabdac297
wrksrc="mtPaint-${_commit}"
build_style=configure
configure_args="--prefix=/usr --mandir=/usr/share/man
imagick cflags jpeg jp2v2 tiff lcms2 man gtk3 webp
intl release"
hostmakedepends="pkg-config gettext"
makedepends="gtk+3-devel libmagick-devel libopenjpeg2-devel
libwebp-devel gettext-devel"
depends="desktop-file-utils"
short_desc="Simple GTK painting program"
maintainer="mobinmob <mobinmob@disroot.org>"
license="GPL-3.0-or-later"
homepage="http://mtpaint.sourceforge.net/"
changelog="https://raw.githubusercontent.com/wjaguar/mtPaint/master/NEWS"
distfiles="https://github.com/wjaguar/mtPaint/archive/${_commit}.tar.gz"
checksum=cd01f281414c30d47c99042c233836c93d596902ef473e9cbe90ae34f05b8575
post_install() {
vdoc doc/vcode.t2t
cd "${DESTDIR}"/usr/bin && ln -s mtpaint mtv
}