diff options
author | Tyler Veness | 2022-10-20 20:04:06 -0700 |
---|---|---|
committer | Tyler Veness | 2022-10-20 20:04:06 -0700 |
commit | ab70d7401ae007a543f4750de6a03a90fb8853d6 (patch) | |
tree | 81133c36925bfb7afb8b419f9fd13ecc8c64618f | |
parent | 8a97ec56f8eb26728249c4635c05f4c1f2cf6902 (diff) | |
download | aur-ab70d7401ae007a543f4750de6a03a90fb8853d6.tar.gz |
Shorten install fixes further
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 3 insertions, 10 deletions
@@ -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 @@ -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 } |