From 061e5d720f20b3d9b70e4d85949abd3e00ee674e Mon Sep 17 00:00:00 2001 From: "Kira L. Patton" Date: Mon, 25 Jan 2021 13:33:01 -0500 Subject: [PATCH] PikoPixel.app: update to 1.0.b10, and fix and clean up package code --- srcpkgs/PikoPixel.app/template | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/srcpkgs/PikoPixel.app/template b/srcpkgs/PikoPixel.app/template index 33eda021519..75580158737 100644 --- a/srcpkgs/PikoPixel.app/template +++ b/srcpkgs/PikoPixel.app/template @@ -1,6 +1,6 @@ # Template file for 'PikoPixel.app' pkgname=PikoPixel.app -version=1.0.b9e +version=1.0.b10 revision=1 wrksrc="PikoPixel.Sources.${version%.*}-${version##*.}" build_wrksrc=PikoPixel @@ -8,21 +8,17 @@ build_style=gnu-makefile make_use_env=yes hostmakedepends="gnustep-make gcc-objc tar which" makedepends="gnustep-base-devel gnustep-gui-devel" -depends="gnustep-base gnustep-gui gnustep-back" +depends="gnustep-back" short_desc="GNUstep application for drawing/editing pixel-art" -maintainer="Kira Patton " +maintainer="Kira L. Patton " license="AGPL-3.0-only" homepage="http://twilightedge.com/mac/pikopixel/" distfiles="http://twilightedge.com/downloads/PikoPixel.Sources.${version%.*}-${version##*.}.tar.gz" -checksum=96977fc51343d294c7d7e76d8f1ac7aa82ae9da1d7d082dee6cee8035959afbe +checksum=e754a89b4a3de5e034c96468d3bc37a0909ea7c06905546ee85658a5dfb547ac -pre_build() { - source /usr/share/GNUstep/Makefiles/GNUstep.sh -} - -pre_install() { - source /usr/share/GNUstep/Makefiles/GNUstep.sh -} +if [ -e /usr/share/GNUstep/Makefiles/GNUstep.sh ]; then + . /usr/share/GNUstep/Makefiles/GNUstep.sh +fi post_install() { vinstall PikoPixel.app/Resources/PikoPixel.desktop 0755 /usr/share/applications/