diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d78d5509e730 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by mksrcinfo v8 +# Sat Mar 18 17:11:06 UTC 2017 +pkgbase = frc-ctrelib-cpp + pkgdesc = Library for the for the FRC roboRIO + pkgver = 4.4.1.12 + pkgrel = 1 + url = http://www.ctr-electronics.com/hro.html#product_tabs_technical_resources + arch = i686 + arch = x86_64 + groups = frc-2017 + license = custom + depends = arm-frc-linux-gnueabi-wpilib + options = !strip + options = libtool + options = staticlibs + options = !emptydirs + source = http://www.ctr-electronics.com/downloads/lib/CTRE_FRCLibs_NON-WINDOWS_v4.4.1.12.zip + sha512sums = abe152427bacf5afc870f9d8137930f456c384a84a8c1c15d07de0236918bda2acd076722c7c7e166d855573ea591cd8f754bc0fd3a95dd83877e3112f0aab16 + +pkgname = frc-ctrelib-cpp + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..854e5e7f7bf7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +*.pkg.tar.xz +*.zip
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c569178431a2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Adam Goldsmith <contact@adamgoldsmith.name> + +pkgname=frc-ctrelib-cpp +pkgver=4.4.1.12 +pkgrel=1 +pkgdesc="Library for the for the FRC roboRIO" +arch=(i686 x86_64) +url="http://www.ctr-electronics.com/hro.html#product_tabs_technical_resources" +license=('custom') +groups=('frc-2017') +depends=('arm-frc-linux-gnueabi-wpilib') +makedepends=() +options=('!strip' 'libtool' 'staticlibs' '!emptydirs') +source=("http://www.ctr-electronics.com/downloads/lib/CTRE_FRCLibs_NON-WINDOWS_v${pkgver}.zip") +sha512sums=('abe152427bacf5afc870f9d8137930f456c384a84a8c1c15d07de0236918bda2acd076722c7c7e166d855573ea591cd8f754bc0fd3a95dd83877e3112f0aab16') + +package() { + cd "$srcdir/" + + mkdir -p $pkgdir/usr/arm-frc-linux-gnueabi/ + cp -r cpp/include cpp/lib $pkgdir/usr/arm-frc-linux-gnueabi/ + + # Avoid conflicts, badly + rm $pkgdir/usr/arm-frc-linux-gnueabi/include/ctre/CtreCanNode.h \ + $pkgdir/usr/arm-frc-linux-gnueabi/include/ctre/ctre.h +} |