updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / alloy / PKGBUILD
blob5ef16c4466248ac1a699bc34040708ffc6c9dde3
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>
5 pkgname="alloy"
6 pkgver=4.1.10
7 pkgrel=2
8 pkgdesc="A lightweight modelling language for software design."
9 url="http://alloy.mit.edu/alloy4/"
10 arch=('i686' 'x86_64')
11 license=('MIT')
12 depends=('java-runtime')
13 makedepends=()
14 conflicts=()
15 replaces=()
16 backup=()
17 install=alloy.install
18 source=("http://alloy.mit.edu/alloy4/${pkgname}4.jar"
19         "alloy" "alloy.sh" "alloy.install")
20 md5sums=('5893b41934de4d339f9b15e2c254e10c'
21          'df91401eca5ee97d4c36313899202cf9'
22          '2ea64ddc7c9cf6ddaf5b54fa056a27b4'
23          'b73ee1135a9f3ac98c56c9ea0824a62d')
25 build() {
26   mkdir -p ${pkgdir}/usr/share/alloy
27   mkdir -p ${pkgdir}/usr/bin
28   mkdir -p ${pkgdir}/etc/profile.d
29   cd ${srcdir}
30   install -m 644 -D alloy4.jar ${pkgdir}/usr/share/alloy/
31   install -m 755 -D ../alloy ${pkgdir}/usr/bin/
32   install -m 755 -D ../alloy.sh ${pkgdir}/etc/profile.d