summaryrefslogtreecommitdiff
path: root/frc-libre/smartdashboard-client/SRCBUILD
blob: 09e6dc0eb89bd4aca314b2cca9f2f1dabf27b586 (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: Luke Shumaker <lukeshu@sbcglobal.net>

pkgname=smartdashboard-client
pkgver=2012
pkgrel=1
pkgdesc='This is the platform independent SmartDashboard jar file.'
arch=any
url="http://firstforge.wpi.edu/sf/projects/smartdashboard"
license=unknown
groups=(frc)
source=(
  'SmartDashboard2012-src-netbeans.zip::http://firstforge.wpi.edu/sf/frs/do/downloadFile/projects.smartdashboard/frs.smartdashboard_client_0_5a1.smartdashboard_client_2012/frs1360?dl=1'
)

build() {
  cd "$srcdir/smartdashboard2012"
  msg "Removing bogus directories..."
  rm -rfv CopyLibs junit junit_4
  msg "Removing sample save files..."
  rm -v customSave *.log lol.xml lol2.xml
  msg "Removing precompiled binaries..."
  rm -rfv lib/*
}

package() {
  PKGEXT=${SRCEXT}
  PKGDEST=${SRCDEST}
  cp -a "${srcdir}/smartdashboard2012" "${pkgdir}/"
}

md5sums=('174b02a7e6b4e5bd6301a1afb88c5be6')