summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2019-11-11 17:16:23 +0100
committerMichel Zou2019-11-11 17:16:23 +0100
commitd85b5b8e65bce85e5961e8485fdee41414d993f5 (patch)
tree723306aa41c46d4da6ee468a59b492b715652d82
parent95b47eef47e7fddb5d1f5528ab5133a058e86e63 (diff)
downloadaur-d85b5b8e65bce85e5961e8485fdee41414d993f5.tar.gz
sha
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 77cb5d67ba9..e323e979134 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,7 +13,7 @@ pkgbase = mingw-w64-tools
source = https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v7.0.0.tar.bz2
source = https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v7.0.0.tar.bz2.sig
validpgpkeys = CAF5641F74F7DFBA88AE205693BDB53CD4EBC740
- sha256sums = f5c9a04e1a6c02c9ef2ec19b3906ec4613606d1b5450d34bbd3c4d94ac696b3b
+ sha256sums = aa20dfff3596f08a7f427aab74315a6cb80c2b086b4a107ed35af02f9496b628
sha256sums = SKIP
pkgname = mingw-w64-tools
diff --git a/PKGBUILD b/PKGBUILD
index 34973d875ec..9186c7d3134 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ groups=(mingw-w64)
options=(!libtool !emptydirs)
validpgpkeys=('CAF5641F74F7DFBA88AE205693BDB53CD4EBC740')
source=(https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v${pkgver}.tar.bz2{,.sig})
-sha256sums=('f5c9a04e1a6c02c9ef2ec19b3906ec4613606d1b5450d34bbd3c4d94ac696b3b'
+sha256sums=('aa20dfff3596f08a7f427aab74315a6cb80c2b086b4a107ed35af02f9496b628'
'SKIP')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
@@ -18,12 +18,12 @@ build() {
cd "${srcdir}"
for tool in gendef genidl genlib genpeimg; do
mkdir -p "${srcdir}"/${tool}-build && cd "${srcdir}"/${tool}-build
- "${srcdir}"/mingw-w64-v6.0.0/mingw-w64-tools/${tool}/configure --prefix=/usr
+ "${srcdir}"/mingw-w64-v${pkgver}/mingw-w64-tools/${tool}/configure --prefix=/usr
make
done
for _arch in ${_architectures}; do
mkdir -p "${srcdir}"/widl-${_arch}-build && cd "${srcdir}"/widl-${_arch}-build
- "${srcdir}"/mingw-w64-v6.0.0/mingw-w64-tools/widl/configure --prefix=/usr --target=${_arch} \
+ "${srcdir}"/mingw-w64-v${pkgver}/mingw-w64-tools/widl/configure --prefix=/usr --target=${_arch} \
--program-prefix="${_arch}-"
make
done
@@ -38,8 +38,8 @@ package() {
cd "${srcdir}/widl-${_arch}-build"
make DESTDIR="${pkgdir}" install
done
- install -Dm644 "${srcdir}/mingw-w64-v6.0.0/mingw-w64-tools/gendef/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.gendef"
- install -m644 "${srcdir}/mingw-w64-v6.0.0/mingw-w64-tools/genidl/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.genidl"
- install -m644 "${srcdir}/mingw-w64-v6.0.0/mingw-w64-tools/genlib/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.genlib"
- install -m644 "${srcdir}/mingw-w64-v6.0.0/mingw-w64-tools/genpeimg/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.genpeimg"
+ install -Dm644 "${srcdir}/mingw-w64-v${pkgver}/mingw-w64-tools/gendef/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.gendef"
+ install -m644 "${srcdir}/mingw-w64-v${pkgver}/mingw-w64-tools/genidl/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.genidl"
+ install -m644 "${srcdir}/mingw-w64-v${pkgver}/mingw-w64-tools/genlib/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.genlib"
+ install -m644 "${srcdir}/mingw-w64-v${pkgver}/mingw-w64-tools/genpeimg/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.genpeimg"
}