updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / logisim / PKGBUILD
blob146a19517d29e9457b4a0c167d2574241c8c9527
1 # $Id: $
2 # Maintainer: Renan Birck <renan.ee.ufsm at gmail.com>
3  
4 pkgname=logisim
5 _truepkgname=logisim-generic
6 pkgver=2.7.1
7 pkgrel=1
8 pkgdesc="An educational tool for designing and simulating digital logic circuits"
9 arch=('i686' 'x86_64')
10 url="http://ozark.hendrix.edu/~burch/logisim/"
11 license=('GPL2')
12 depends=('java-runtime' 'bash')
13 source=(http://downloads.sourceforge.net/sourceforge/circuit/${_truepkgname}-${pkgver}.jar \
14         ${pkgname}.desktop \
15         ${pkgname}.png \
16         ${pkgname})
17 noextract=(${pkgname}-${pkgver}.jar)
20 build(){
21   mkdir -p "${pkgdir}/usr/share/${pkgname}" \
22            "${pkgdir}/usr/share/applications" \
23            "${pkgdir}/usr/share/pixmaps" \
24            "${pkgdir}/usr/bin"
25   install -D -m644 ${_truepkgname}-${pkgver}.jar ${pkgdir}/usr/share/${pkgname}/
26   install -D -m644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/
27   install -D -m644 ${pkgname}.png ${pkgdir}/usr/share/pixmaps/
28   install -D -m755 ${pkgname} ${pkgdir}/usr/bin/
30 md5sums=('49768566dfc3093d22d73bb2d547dfec'
31          '677002e49269cf4e2879595c3fbd2bf8'
32          '11ddede2d03234fde6fb844c6b2e6810'
33          '0e0d892a0eebb382847a95361750ad3b')