summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e05653bb0def6be6e630cfe20da05980a6c9b08e (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
# Submitter: David Hajek <dante4d at gmail dot com>
# Maintainer: Walter Dworak <preparationh67 at gmail dot com>
# see http://wiki.archlinux.org/index.php/Java_Package_Guidelines
pkgname=jgoodies-common
pkgver=1.8.1
pkgrel=1
_pkgver="1_8_1"
pkgdesc="A Java Swing common library required by other JGoodies libraries"
arch=('any')
url="http://www.jgoodies.com/"
license=('BSD')
groups=('jgoodies')
optdepends=('java-runtime>=6')
source=("http://www.jgoodies.com/download/libraries/common/$pkgname-$_pkgver.zip")


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:
md5sums=('24cc6aafe0bfe6b72d893caab6b38201')