summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aa5398472e3b4d54a0b4dc7d650eaa4a37ac6e13 (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
36
37
38
39
40
# Alloy is developed by the Software Design Group at MIT.
# See https://sdg.csail.mit.edu/ or http://alloytools.org
# Maintainer: Yazhou Tang <tangyazhou518 at outlook dot com>
# Contributor: Markus Legner <markus@legner.ch>
# Contributor: Ivan Kuraj <kaptoxic _at_ yahoo _dot_ com >
# Contributor: Rodney Price <rod@thirdoption.info>

pkgname="alloy"
pkgver=6.1.0
pkgrel=1
pkgdesc="A lightweight modelling language for software design."
url="https://alloytools.org/"
arch=('i686' 'x86_64')
license=('MIT')
depends=('java-runtime')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=("https://github.com/AlloyTools/org.alloytools.alloy/releases/download/v6.0.0/org.alloytools.alloy.dist.jar"
        "alloy" "alloy.png" "alloy.desktop")
md5sums=('44cddd0fe1b7faf21d0f405159efb586'
         '022d3b7cfbdf281b6c5d8fcefaf747b0'
         'e117c6a2bb28826e9307cbf094e980ab'
         '3ad162df79191af3509afe9e232b1269')

package() {
  mkdir -p ${pkgdir}/usr/share/alloy
  mkdir -p ${pkgdir}/usr/bin
  mkdir -p ${pkgdir}/usr/share/{applications,pixmaps}
  
  cd ${srcdir}
  install -m 644 -D org.alloytools.alloy.dist.jar ${pkgdir}/usr/share/alloy/alloy6.1.0.jar
  install -m 755 -D alloy ${pkgdir}/usr/bin/
  # icon
  install -Dm644 alloy.png $pkgdir/usr/share/pixmaps/alloy.png
  # app file desktop
  install -Dm644 alloy.desktop $pkgdir/usr/share/applications/
}