summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8a591bd48041899a29a922f535fbddb64a85d8fc (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
# Maintainer: David Baum <david.baum@naraesk.eu>
pkgname=eclipse-installer
pkgver=1.0
pkgrel=4
pkgdesc="Automates the installation and update of Eclipse development environments"
arch=('i686' 'x86_64')
url="https://wiki.eclipse.org/Eclipse_Installer"
license=('EPL')
groups=()
depends=()
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=()
changelog=()
source=('https://mirrors.dotsrc.org/eclipse//oomph/products/eclipse-inst-linux64.tar.gz')
noextract=()
md5sums=('SKIP')

package() {
    install -d ${pkgdir}/opt/${pkgname}
    cp -a ./* ${pkgdir}/opt/
    rm ${pkgdir}/opt/eclipse-inst-linux64.tar.gz
    
    install -d ${pkgdir}/usr/bin/
    ln -s /opt/${pkgname}/eclipse-inst ${pkgdir}/usr/bin/${pkgname}
}