summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e1e752fb4e9b309e00dacd5b9533915ef007e8b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Walter Dworak <preparationh67 at gmail dot com>
# Contributor: David Hajek <dante4d at gmail dot com>
# see http://wiki.archlinux.org/index.php/Java_Package_Guidelines
pkgname=jgoodies-validation
pkgver=2.5.1
pkgrel=1
_pkgdate="20141229"
pkgdesc="A Java Swing validation library"
arch=('any')
url="http://www.jgoodies.com/"
license=('BSD')
groups=('jgoodies')
depends=('jgoodies-common>=1.5.0')
optdepends=('java-runtime>=6')
source=("http://www.jgoodies.com/download/libraries/validation/$pkgname-${pkgver//./_}-$_pkgdate.zip")

md5sums=('70aae66acf290a6072a1bddddce0f053')

package() {
  _src="$srcdir/$pkgname-$pkgver"
  _pkg="$pkgdir/usr/share/java"
  install -m 644 -D "$_src/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
  mkdir -p "$_pkg"
  mv "$_src" "$_pkg/$pkgname"
}

# vim:set ts=2 sw=2 et: