Date: Thursday, January 26, 2017 @ 13:12:53 Author: arodseth Revision: 209122
upgpkg: processing 3.2.3-3 Modified: processing/trunk/PKGBUILD ----------+ PKGBUILD | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-01-26 12:46:05 UTC (rev 209121) +++ PKGBUILD 2017-01-26 13:12:53 UTC (rev 209122) @@ -3,25 +3,30 @@ pkgname=processing pkgver=3.2.3 -pkgrel=2 +_rev=0255 +pkgrel=3 arch=('x86_64' 'i686') pkgdesc='Programming environment for creating images, animations and interactions' url='http://www.processing.org/' license=('GPL' 'LGPL') -makedepends=('gendesk') -depends=('libgl' 'libxxf86vm') +makedepends=('gendesk' 'java-openjfx' 'java-environment=8' 'apache-ant' 'rsync') +depends=('libgl' 'java-openjfx') options=('!strip') -source_x86_64=("http://download.$pkgname.org/$pkgname-$pkgver-linux64.tgz") -source_i686=("http://download.$pkgname.org/$pkgname-$pkgver-linux32.tgz") -md5sums_x86_64=('0f558ae55fa6fdac2812daa9308044d3') -md5sums_i686=('8841ed118da2f7bb1000dec9770b8609') +source=("https://github.com/$pkgname/$pkgname/archive/$pkgname-$_rev-$pkgver.tar.gz") +sha256sums=('e2959b16375fa05bfaa2a2d02c5ddb88bd64aca4efd8366a831ace0e2bd119b2') prepare() { gendesk -n --pkgname="$pkgname" --pkgdesc="$pkgdesc" } +build() { + cd "$pkgname-$pkgname-$_rev-$pkgver/build" + + ant run +} + package() { - cd "$pkgname-$pkgver" + cd "$pkgname-$pkgname-$_rev-$pkgver/build" install -d "$pkgdir/usr/bin/" "$pkgdir/usr/share/$pkgname/" cp -r * "$pkgdir/usr/share/$pkgname/" @@ -29,7 +34,7 @@ ln -s "/usr/share/$pkgname/$pkgname-java" "$pkgdir/usr/bin/$pkgname-java" # Desktop icon / application shortcut - install -Dm644 "lib/icons/pde-128.png" \ + install -Dm644 "shared/lib/icons/pde-256.png" \ "$pkgdir/usr/share/pixmaps/$pkgname.png" install -Dm644 "$srcdir/$pkgname.desktop" \ "$pkgdir/usr/share/applications/$pkgname.desktop"