summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Veness2022-10-20 20:04:06 -0700
committerTyler Veness2022-10-20 20:04:06 -0700
commitab70d7401ae007a543f4750de6a03a90fb8853d6 (patch)
tree81133c36925bfb7afb8b419f9fd13ecc8c64618f
parent8a97ec56f8eb26728249c4635c05f4c1f2cf6902 (diff)
downloadaur-ab70d7401ae007a543f4750de6a03a90fb8853d6.tar.gz
Shorten install fixes further
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 3 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0b3ea4129249..635ccc25586c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = wpimath
pkgdesc = WPILib's mathematics and controls library
pkgver = 2023.1.1a
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/wpilibsuite/allwpilib
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index d34780a34f2a..634e87afff4c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=wpimath
pkgver=2023.1.1a
-pkgrel=3
+pkgrel=4
pkgdesc="WPILib's mathematics and controls library"
arch=('x86_64')
url='https://github.com/wpilibsuite/allwpilib'
@@ -53,14 +53,7 @@ check() {
package() {
DESTDIR="$pkgdir" cmake --install build
- # Fix includes install
- mkdir -p "$pkgdir"/usr/include
- mv "$pkgdir"/usr/wpilib/include/wpiutil/* "$pkgdir"/usr/include
- mv "$pkgdir"/usr/wpilib/include/wpimath/* "$pkgdir"/usr/include
-
- # Fix libs install
+ mv "$pkgdir"/usr/wpilib/include "$pkgdir"/usr/include
mv "$pkgdir"/usr/wpilib/lib "$pkgdir"/usr/lib
-
- # Delete empty folder
rm -r "$pkgdir"/usr/wpilib
}