summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7abb8a10db52aed8927b8690caec06c104a25b09 (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
# Maintainer: bmgtjonas <linuxus@mail.de>

pkgname=gqthres
pkgver=1.1.2
pkgrel=0
pkgdesc="Resolver for Callsigns and Locators"
arch=(any)
url="https://github.com/BaumGuard/gqthres"
license=(GPL)
makedepends=(git)
depends=(jre-openjdk)
source=("https://github.com/BaumGuard/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")

build() {
   cd ${pkgname}-${pkgver}/src

   javac -cp jsoup-1.13.1.jar gqthres.java
   jar cfm gqthres.jar manifest *.class
}

package() {
   cd ${srcdir}/${pkgname}-${pkgver}

   install -Dm755 gqthres ${pkgdir}/usr/bin/gqthres
   install -Dm755 src/gqthres.jar ${pkgdir}/usr/lib/gqthres/gqthres.jar
   install -Dm755 src/jsoup-1.13.1.jar ${pkgdir}/usr/lib/gqthres/jsoup-1.13.1.jar
   install -Dm755 gqthres.conf ${pkgdir}/etc/gqthres.conf
   install -Dm755 gqthres.desktop ${pkgdir}/usr/share/applications/gqthres.desktop
   install -Dm755 gqthres.png ${pkgdir}/usr/share/pixmaps/gqthres.png
}  
sha256sums=('c7fc5f8c5dd64824c9a87c23c91f1a6c967c803f68172f28c15938ec63d714e8')