blob: fc364e23281b362696388c3d8e8c776347251bd9 (
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
|
# Maintainer: Jonty Newman <jonty.newman at gmail dot com>
# Contributor: Martynas Janu <martynas.janu at googlemail dot com>
# Contributor: Benjamin Asbach <archlinux-aur.pkgname at impl dot it>
pkgname=apache-netbeans
pkgver=12.1
pkgrel=1
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/netbeans/netbeans/12.1/netbeans-12.1-bin.zip"
"apache-netbeans.desktop")
sha512sums=("ad4bb5b191c784ed144b0b4831a8b95e0707c362917833c279d3f6fad11d7b3fb1f004f30121a941b694fc2ce323974b15072aa31cb5449111bc5d33d0d77103"
"e8160bb80c333a6b478766f176092caa8d87394202c923df22a8f4e3a336a72b0c3ee7f724743b13bfdc785fca32c1b984c2f719b0b153f943a9beaa9d877909")
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"
}
|