blob: 6e0f5991e32771223f426fe26213b31c002f704a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Bachir Soussi Chiadmi (scbh at g-u-i dot me)
pkgname=nodebox
pkgver=3.0.50
tag="15464085e8ab519b4f63220c23c9cde1dcf9851c"
pkgrel=1
pkgdesc="Node-based software application for generative design."
arch=('any')
url="https://www.nodebox.net"
license=('GPL2')
depends=('java-environment' 'desktop-file-utils')
makedepends=('git' 'apache-ant' 'java-openjfx')
provides=('nodebox')
source=("git://github.com/nodebox/nodebox.git#tag=$tag" 'nodebox.sh' 'nodebox.desktop' 'nodebox.png')
md5sums=('SKIP' 'e60ce94f6d0eac4d93908bb5df3e94eb' 'b4afc4203d2f46459d226d923f93c2f4' '908bb603513778a7d800374027c5b24f')
conflicts=("nodebox-git")
#pkgver() {
# cd "$srcdir/nodebox"
# git describe --long --tags| sed 's/^v//g;s/\([^-]*-\)g/r\1/;s/-/./g'
#}
build() {
cd "$srcdir/nodebox/"
ant resources
}
package() {
mkdir -p "$pkgdir/opt"
cp -r "$srcdir/nodebox/dist/resources" "$pkgdir/opt/nodebox"
install "$srcdir/nodebox/dist/lib/nodebox.jar" "$pkgdir/opt/nodebox/nodebox.jar"
chmod -R a+rx "$pkgdir/opt/nodebox"
install -Dm755 nodebox.sh "$pkgdir/usr/bin/nodebox"
install -Dm644 nodebox.desktop "$pkgdir/usr/share/applications/nodebox.desktop"
install -Dm644 nodebox.png "$pkgdir/usr/share/pixmaps/nodebox.png"
}
|