summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ae4742c0efb84502aadb23b3d9aa6cc8d92b6260 (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
28
29
30
31
32
33
34
35
36
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: Roman Timushev <rtimuh@gmail.com>
# Maintainer: vauvenal5 <vauvenal5@gmail.com>

pkgname=lilith
pkgver=8.1.1
pkgrel=1
pkgdesc="logging and access event viewer for Logback, log4j and JUL"
arch=(any)
url="http://lilith.huxhorn.de/"
license=('GPL')
makedepends=(gendesk)
depends=(java-runtime)
validpgpkeys=('3CECE46C577B8BFE85B657256334E557740A1840')
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver-bin.tgz"
    "http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver-bin.tgz.asc"
    "http://sourceforge.net/p/lilith/code/ci/master/tree/icon.png?format=raw")
md5sums=('066fa2288c70fd754cd67da90596a084'
         'ca39fec6928871ef96b3021b05d5c644'
         'd835b5c67d2ba277fa2c359ddae7d28f')

prepare() {
	gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc"
}

package() {
  cd "$srcdir"
  install -dm755 "$pkgdir/opt"
  install -dm755 "$pkgdir/usr/bin"
  cp -R "$pkgname-$pkgver" "$pkgdir/opt"
  ln -s "/opt/$pkgname-$pkgver/bin/lilith" "$pkgdir/usr/bin/lilith"
  install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
  install -Dm644 "icon.png?format=raw" "$pkgdir/usr/share/pixmaps/$pkgname.png"
}

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