arch-pkgbuilds/pikopixel/PKGBUILD
Christoffer Müller Madsen d4443dfe8b add PikoPixel
2016-10-20 03:25:00 +02:00

32 lines
1015 B
Bash

# 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"
}