aboutsummaryrefslogtreecommitdiffstats
path: root/javagnutar/PKGBUILD
blob: 6cb6d38eea3b5260950f9f2e921759f2664e7549 (plain) (blame)
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
# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>

pkgname=javagnutar
pkgver=1.1.4
pkgrel=1
pkgdesc="Java library for GNU Tar archives"
arch=('any')
url="http://code.google.com/p/javagnutar/"
license=('Apache')
depends=('java-runtime>=1.5')
makedepends=('unzip' 'wget')

_url="http://javagnutar.googlecode.com/files/javagnutar-1.1.4.zip"

build() {
  cd "$srcdir"
  wget "$_url"
  unzip javagnutar-1.1.4.zip
}

package() {
  cd "$srcdir/"
  install -d "$pkgdir/usr/lib/"
  install -m 755 activation.jar "$pkgdir/usr/lib/"
  install -m 755 javagnutar.jar "$pkgdir/usr/lib/"
}