update nim to 1.6.0
This commit is contained in:
parent
562e402e29
commit
16b3328690
|
@ -6,21 +6,21 @@ license=('MIT')
|
||||||
options=('!emptydirs')
|
options=('!emptydirs')
|
||||||
provides=('nim' 'nimble')
|
provides=('nim' 'nimble')
|
||||||
conflicts=('nim' 'nimble')
|
conflicts=('nim' 'nimble')
|
||||||
pkgver=1.4.8
|
pkgver=1.6.0
|
||||||
_csources=0.20.0
|
_csources=561b417c65791cd8356b5f73620914ceff845d10
|
||||||
_nimble=0.13.1
|
_nimble=0.13.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
depends=("${MINGW_PACKAGE_PREFIX}-openssl")
|
depends=("${MINGW_PACKAGE_PREFIX}-openssl")
|
||||||
source=(nim-${pkgver}.tar.gz::https://github.com/nim-lang/Nim/archive/v${pkgver}.tar.gz
|
source=(nim-${pkgver}.tar.gz::https://github.com/nim-lang/Nim/archive/v${pkgver}.tar.gz
|
||||||
csources-${_csources}.tar.gz::https://github.com/nim-lang/csources/archive/v${_csources}.tar.gz
|
csources_v1-${_csources}.tar.gz::https://github.com/nim-lang/csources_v1/archive/${_csources}.tar.gz
|
||||||
nimble-${_nimble}.tar.gz::https://github.com/nim-lang/nimble/archive/v${_nimble}.tar.gz
|
nimble-${_nimble}.tar.gz::https://github.com/nim-lang/nimble/archive/v${_nimble}.tar.gz
|
||||||
'0001-Use-unixy-filenames-even-on-Windows.patch'
|
'0001-Use-unixy-filenames-even-on-Windows.patch'
|
||||||
'0002-Always-look-in-unix-paths.patch'
|
'0002-Always-look-in-unix-paths.patch'
|
||||||
'0003-Check-lib-nim-subdirectory.patch'
|
'0003-Check-lib-nim-subdirectory.patch'
|
||||||
'0004-Use-mingw64-dlls.patch')
|
'0004-Use-mingw64-dlls.patch')
|
||||||
sha256sums=('8a687beb30670dc4eadcfefd1198d4238af283dc716438ac2342a7d65e07d9e9'
|
sha256sums=('c202cfd24a24480da1cf851e1265b87edb22710bb42286a57b1a99c83b6a8315'
|
||||||
'5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c'
|
'71c823444c794a12da9027d19d6a717dd7759521ecbbe28190b08372142607ec'
|
||||||
'e6aa8d9ee4b3ed0321dca329b4a38fa546771b9729984482fb50fe73d3777f5d'
|
'e6aa8d9ee4b3ed0321dca329b4a38fa546771b9729984482fb50fe73d3777f5d'
|
||||||
'3010acbe7769ea214dd51f5889e3a26b44925001905deb04b060beaede2578f4'
|
'3010acbe7769ea214dd51f5889e3a26b44925001905deb04b060beaede2578f4'
|
||||||
'047036575b23b607f992981da7d53f027ed05d533b7b02fecc42782466e410e4'
|
'047036575b23b607f992981da7d53f027ed05d533b7b02fecc42782466e410e4'
|
||||||
|
@ -31,7 +31,7 @@ prepare() {
|
||||||
cd "${srcdir}/nim-${pkgver}"
|
cd "${srcdir}/nim-${pkgver}"
|
||||||
|
|
||||||
rm -rf csources nimble
|
rm -rf csources nimble
|
||||||
mv "../csources-${_csources}" csources
|
mv "../csources_v1-${_csources}" csources
|
||||||
mv "../nimble-${_nimble}" nimble
|
mv "../nimble-${_nimble}" nimble
|
||||||
rm bin/empty.txt
|
rm bin/empty.txt
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ package() {
|
||||||
cp -a "${pkgdir}${MINGW_PREFIX}/lib/nim/"*.h "${pkgdir}${MINGW_PREFIX}/include"
|
cp -a "${pkgdir}${MINGW_PREFIX}/lib/nim/"*.h "${pkgdir}${MINGW_PREFIX}/include"
|
||||||
|
|
||||||
install -d "${pkgdir}${MINGW_PREFIX}/share/nim/doc"
|
install -d "${pkgdir}${MINGW_PREFIX}/share/nim/doc"
|
||||||
cp -a examples doc/* "${pkgdir}${MINGW_PREFIX}/share/nim/doc"
|
cp -a doc/* "${pkgdir}${MINGW_PREFIX}/share/nim/doc"
|
||||||
|
|
||||||
install -Dm 644 copying.txt -t "${pkgdir}${MINGW_PREFIX}/share/licenses/${pkgname}"
|
install -Dm 644 copying.txt -t "${pkgdir}${MINGW_PREFIX}/share/licenses/${pkgname}"
|
||||||
rm -r "${pkgdir}/nim"
|
rm -r "${pkgdir}/nim"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user