updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / sdedit / PKGBUILD
blobb68eefcb7314913906031b8ff7781201348fad63
1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: Your Name <youremail@domain.com>
7 pkgname=sdedit
8 pkgver=3.1
9 pkgrel=1
10 pkgdesc="Lightweight sequence diagram editor"
11 arch=('i686' 'x86_64')
12 url="http://sdedit.sourceforge.net"
13 license=('BSD')
14 groups=()
15 depends=('java-runtime')
16 makedepends=()
17 checkdepends=()
18 optdepends=()
19 provides=()
20 conflicts=()
21 replaces=()
22 backup=()
23 options=()
24 install=
25 changelog=
26 source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/$pkgname-$pkgver.jar sdedit.sh)
27 md5sums=('504ebce5fa88ceda7ee23c202bf6eec0'
28          'df660cb818236d83567cefc50742ca88')
29 noextract=($pkgname-$pkgver.jar)
32 build() {
33   install -d $pkgdir/{usr/share/java/$pkgname,usr/bin} || return 1
34   install -m755 ${srcdir}/sdedit.sh $pkgdir/usr/bin/sdedit
35   install ${srcdir}/$pkgname-$pkgver.jar $pkgdir/usr/share/java/$pkgname/$pkgname.jar