grafx2: fix version, license, distfiles.

Closes #13585.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
cr6git 2018-04-18 18:43:09 +02:00 committed by Enno Boland
parent 44f1eb4e84
commit 00e7e26f7b

View file

@ -1,17 +1,18 @@
# Template file for 'grafx2'
pkgname=grafx2
version=2.4
version=2.4.2035
revision=1
wrksrc=grafx2
build_wrksrc="src"
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="SDL_ttf-devel SDL_image-devel freetype-devel lua-devel"
makedepends="freetype-devel lua-devel SDL_image-devel SDL_ttf-devel"
depends="desktop-file-utils"
short_desc="Bitmap/pixel drawing program like Deluxe Paint"
maintainer="allan <mail@may.mooo.com>"
license="GPL-1"
license="GPL-2"
homepage="http://pulkomandy.tk/projects/GrafX2/"
distfiles="http://pulkomandy.tk/projects/GrafX2/downloads/21>$pkgname-$version.tgz"
distfiles="http://pulkomandy.tk/projects/GrafX2/downloads/grafx2-${version}-src.tgz"
checksum=5818caea63cd3cf3318baf01dd20f81ec61e4514443000c80a41b68ab3f17a6b
pre_build() {
@ -26,6 +27,6 @@ do_install() {
vman ../misc/unix/grafx2.1
vinstall ../misc/unix/grafx2.desktop 644 usr/share/applications
vinstall ../misc/unix/grafx2.xpm 644 usr/share/pixmaps
vmkdir usr/share/
mv ../share/* ${DESTDIR}/usr/share/
vinstall ../share/icons/grafx2.svg 644 usr/share/icons
vcopy ../share/grafx2 usr/share
}