add PikoPixel

This commit is contained in:
Christoffer Müller Madsen 2016-10-20 03:25:00 +02:00
parent 29839c49ed
commit d4443dfe8b
2 changed files with 42 additions and 0 deletions

31
pikopixel/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# Maintainer: Christoffer Müller Madsen <christoffer@guava.space>
DLAGENTS=("http::/usr/bin/curl -A 'Mozilla/5.0' -o %o %u")
pkgname=pikopixel
_pkgname=PikoPixel
pkgver=1.0_b6
pkgrel=1
pkgdesc="Free application for drawing \& editing pixel-art images"
arch=(i686 x86_64)
url="http://twilightedge.com/mac/pikopixel/"
license=('AGPL3')
install=$pkgname.install
depends=(gnustep-base gnustep-gui gnustep-back)
makedepends=('gcc-objc'
'gnustep-make')
provides=(pikopixel)
conflicts=(pikopixel)
source=(http://twilightedge.com/downloads/PikoPixel.Sources.${pkgver//_/-}.zip)
md5sums=('213a25b7d5d26ead2704d6560d76b21e')
build() {
cd "$srcdir"/PikoPixel.Sources.${pkgver//_/-}/PikoPixel
. /usr/share/GNUstep/Makefiles/GNUstep.sh
make
}
package() {
cd "$srcdir"/PikoPixel.Sources.${pkgver//_/-}/PikoPixel
make DESTDIR="$pkgdir/" install
install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" \
"$pkgdir/usr/share/applications/$_pkgname.desktop"
}

View File

@ -0,0 +1,11 @@
post_install() {
update-desktop-database -q
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}