updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / astah_community / PKGBUILD
blob2341f7bf844885a4509c54cb2daa0e776c767ab9
1 #Contributor: Phillipe Smith <phillipe@archlinux.com.br>
2 pkgname=astah_community
3 pkgver=6.5
4 pkgrel=1
5 pkgdesc='Lightweight, easy-to-use, and free UML2.x modeler'
6 arch=('i686' 'x86_64')
7 url="http://astah.change-vision.com/en/product/astah-community.html"
8 license=('custom:none')
9 depends=('java-runtime')
10 source=("http://dl.dropbox.com/u/4813005/astah-community-6_5.zip"
11         "astah"
12         "astah_community.desktop"
13         "astah_community.xml"
14         "astah_community.png"
15         "astah_splash_community.png")
16 md5sums=('bb14c8c8b632f7acaccbe37087e1e8cc'
17          '24bbcaec8ffcd81b094ac70b0d365ea6'
18          'ca5a813d2e03dd9162f1b49f8322c132'
19          'c2f581a9a17e59bdd025618c75853562'
20          '128fa02f3605c1c86d9a5b35439ae62b'
21          '95e5566bcef2eb2f7ee5a8ec99eae8af')
23 build() {
24     mkdir -p ${pkgdir}/usr/{bin,lib,share/{applications,pixmaps,mime/packages}}
27 package() {                 
28     cp -r ${srcdir}/${pkgname} ${pkgdir}/usr/lib         
29         install -m755 ${srcdir}/astah ${pkgdir}/usr/bin || return 1
30         install -m755 ${srcdir}/astah_community.desktop ${pkgdir}/usr/share/applications || return 1
31         install -m755 ${srcdir}/astah_community.xml ${pkgdir}/usr/share/mime/packages || return 1
32     install -m755 ${srcdir}/astah_community.png ${pkgdir}/usr/share/pixmaps || return 1
33     install -m755 ${srcdir}/astah_splash_community.png ${pkgdir}/usr/lib/${pkgname} || return 1