summaryrefslogtreecommitdiff
path: root/frc-libre/smartdashboard-client/SRCBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-01-29 19:25:16 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-01-29 19:25:16 -0500
commitf99d7432279b9d75e155d4d1240f32833e80108f (patch)
treefd4beec4ec317f5b05e3a5682b6409357de216cb /frc-libre/smartdashboard-client/SRCBUILD
parent6e4966a0d6e539205edd0832162c5218dca535d6 (diff)
mv frc-{bin,libre}/smartdashboard-client
Diffstat (limited to 'frc-libre/smartdashboard-client/SRCBUILD')
-rw-r--r--frc-libre/smartdashboard-client/SRCBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/frc-libre/smartdashboard-client/SRCBUILD b/frc-libre/smartdashboard-client/SRCBUILD
new file mode 100644
index 0000000..09e6dc0
--- /dev/null
+++ b/frc-libre/smartdashboard-client/SRCBUILD
@@ -0,0 +1,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')