blob: 7001e80f87a5a8c07531251daa837e4f9913e106 (
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
|
# Maintainer: Martynas Janu <martynas.janu at googlemail dot com>
# Contributor: Benjamin Asbach <archlinux-aur.pkgname@impl.it>
pkgname=apache-netbeans
pkgver=10.0
pkgrel=7
pkgdesc="Apache Netbeans IDE development platform"
arch=('i686' 'x86_64')
url="https://netbeans.apache.org"
license=('Apache')
options=('!strip')
depends=('java-runtime>=8')
provides=('apache-netbeans')
conflicts=('apache-netbeans')
source=("https://www-eu.apache.org/dist/incubator/netbeans/incubating-netbeans/incubating-10.0/incubating-netbeans-10.0-bin.zip"
"apache-netbeans.desktop")
sha256sums=("efb9175e9a4f773d77b1072f796259ba0b46e11e3f4277b1c52f6e95263a9242"
"1f532b1414567911795a5f8f2776452771730bb4a441abd788a6ac3ad097012f")
package() {
mkdir -p $pkgdir/usr/share/apache-netbeans
mv $srcdir/netbeans $srcdir/apache-netbeans
cp -R $srcdir/apache-netbeans $pkgdir/usr/share
chmod -R 0755 $pkgdir/usr/share/apache-netbeans
chmod +x $pkgdir/usr/share/apache-netbeans/bin/netbeans
rm -f $pkgdir/usr/share/apache-netbeans/bin/netbeans.exe
rm -f $pkgdir/usr/share/apache-netbeans/bin/netbeans64.exe
install -Dm755 apache-netbeans.desktop "${pkgdir}/usr/share/applications/apache-netbeans.desktop"
}
|