summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cab1df50c99f2dd2f55582fb2a7fafe3345cba4e (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
# Maintainer: Eike Baran <eikebaran89@gmail.com>
pkgname=jdigitalsimulator
pkgrname=JDigitalSimulator
pkgver=2.0.2
pkgrel=1
pkgdesc="JDigitalSimulator is a platform independent open source Electronic Design Automation software entirely written in Java by Kristian Kraljic."
arch=('any')
url="http://kra.lc/projects/jdigitalsimulator/index.html"
license=('GPL3')
depends=('java-runtime>=7')
makedepends=('maven')
#changelog="$srcdir/$pkgrname-$pkgver/CHANGELOG.md"
source=("https://github.com/kristian/$pkgrname/archive/$pkgver.zip")
md5sums=('2ca18f12da2cbf9e58938e342d62e179')

build() {
  cd "$srcdir/$pkgrname-$pkgver"
  mvn clean install
}

package() {

  install -D -m644 "$srcdir/$pkgrname-$pkgver/target/jds-$pkgver.jar" "$pkgdir/usr/share/java/JDigitalSimulator/jds.jar"
  install -D -m644 "$srcdir/$pkgrname-$pkgver/target/classes/lc/kra/jds/icon.png" "$pkgdir/usr/share/icons/hicolor/16x16/apps/jdigitalsimulator.png"
  install -D -m755 "$startdir/JDigitalSimulator" "$pkgdir/usr/bin/JDigitalSimulator"
  install -D -m644 "$startdir/jdigitalsimulator.desktop" "$pkgdir/usr/share/applications/jdigitalsimulator.desktop"
  #make DESTDIR="$pkgdir/" install
}