diff --git a/coin-or-cgl/riscv64.patch b/coin-or-cgl/riscv64.patch index bb402e734..12620f870 100644 --- a/coin-or-cgl/riscv64.patch +++ b/coin-or-cgl/riscv64.patch @@ -1,15 +1,15 @@ --- PKGBUILD +++ PKGBUILD -@@ -14,6 +14,12 @@ depends=(coin-or-clp) - source=($pkgname-$pkgver.tar.gz::https://github.com/coin-or/Cgl/archive/refs/tags/releases/$pkgver.tar.gz) - sha256sums=('9e2c51ffad816ab408763d6b931e2a3060482ee4bf1983148969de96d4b2c9ce') +@@ -19,6 +19,12 @@ makedepends=(git) + source=(git+https://github.com/coin-or/Cgl#tag=releases/$pkgver) + sha256sums=('b24a06071a18fd10bbda07b90aeb55a88863bd4c145240950869d527cc614097') +prepare() { -+ cd Cgl-releases-$pkgver ++ cd Cgl + autoconf_file="/usr/share/autoconf/build-aux/config" + echo ". Cgl" | xargs -r -n1 cp ${autoconf_file}.{guess,sub} +} + build() { - cd Cgl-releases-$pkgver + cd Cgl ./configure --prefix=/usr