1 # Alloy is developed by the Software Design Group at MIT.
2 # See http://sdg.csail.mit.edu/ or http://alloy.mit.edu
3 # Maintainer: Rodney Price <rod@thirdoption.info>
8 pkgdesc="A lightweight modelling language for software design."
9 url="http://alloy.mit.edu/alloy4/"
10 arch=('i686' 'x86_64')
12 depends=('java-runtime')
18 source=("http://alloy.mit.edu/alloy4/${pkgname}4.jar"
19 "alloy" "alloy.sh" "alloy.install")
20 md5sums=('5893b41934de4d339f9b15e2c254e10c' 'df91401eca5ee97d4c36313899202cf9'\
21 '2ea64ddc7c9cf6ddaf5b54fa056a27b4' '2dc90f53c824b6cbb807192bbf5d957a')
23 mkdir -p ${pkgdir}/usr/share/alloy
24 mkdir -p ${pkgdir}/usr/bin
25 mkdir -p ${pkgdir}/etc/profile.d
27 install -m 644 -D alloy4.jar ${pkgdir}/usr/share/alloy/
28 install -m 755 -D ../alloy ${pkgdir}/usr/bin/
29 install -m 755 -D ../alloy.sh ${pkgdir}/etc/profile.d
30 # Link to location of binary package file
31 if [ ${PKGDEST} -ne ${startdir} ]; then
32 ln -s ${PKGDEST}/${pkgname}-${pkgver}-${pkgrel}-${CARCH}.pkg.tar.gz \
33 ${startdir}/${pkgname}-${pkgver}-${pkgrel}-${CARCH}.pkg.tar.gz