diff options
author | Tyler Veness | 2015-12-04 13:05:30 -0800 |
---|---|---|
committer | Tyler Veness | 2015-12-04 13:05:30 -0800 |
commit | d20005c152964c14234a8dcbc9ec50733c48cd68 (patch) | |
tree | d1c156f6c23a8bf035a267774d98fa9c6375df5c | |
parent | 0bfe20d36e24bce9cdee1622a087d9d5d28c3f44 (diff) | |
download | aur-d20005c152964c14234a8dcbc9ec50733c48cd68.tar.gz |
Updated package to new WPILib build targets
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 5 insertions, 11 deletions
@@ -1,6 +1,6 @@ pkgbase = arm-frc-linux-gnueabi-wpilib-git pkgdesc = The WPI FIRST Robotics Competition C/C++ library for the arm-frc-linux-gnueabi toolchain - pkgver = 1175.97a7716 + pkgver = 1246.5c82146 pkgrel = 1 url = https://usfirst.collab.net/sf/projects/wpilib/ arch = i686 @@ -1,7 +1,7 @@ # Maintainer: Tyler Veness <calcmogul at gmail dot com> pkgname=arm-frc-linux-gnueabi-wpilib-git -pkgver=1175.97a7716 +pkgver=1246.5c82146 pkgrel=1 pkgdesc="The WPI FIRST Robotics Competition C/C++ library for the arm-frc-linux-gnueabi toolchain" arch=(i686 x86_64) @@ -22,22 +22,16 @@ pkgver() { echo $(git rev-list --count master).$(git rev-parse --short master) } -prepare() { - cd "$srcdir/allwpilib" - git submodule update --init --recursive -} - build() { cd "$srcdir/allwpilib" - ./gradlew wpilibcZip + ./gradlew :wpilibc:build } package() { cd "$srcdir/allwpilib/wpilibc/build" - mkdir -p $pkgdir/usr/arm-frc-linux-gnueabi/share + mkdir -p $pkgdir/usr/arm-frc-linux-gnueabi - yes A | unzip -d $pkgdir/usr/arm-frc-linux-gnueabi wpilibc.zip - mv $pkgdir/usr/arm-frc-linux-gnueabi/docs $pkgdir/usr/arm-frc-linux-gnueabi/share/doc + yes A | unzip -d $pkgdir/usr/arm-frc-linux-gnueabi wpilibc-development.zip install -Dm644 ../../wpilibj/BSD_License_for_WPILib_code.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE } |