summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2019-11-10 13:07:59 +0100
committerMichel Zou2019-11-10 13:07:59 +0100
commit95b47eef47e7fddb5d1f5528ab5133a058e86e63 (patch)
tree9dae5e68900ab33d25ae8d7e678010ab33699ded
parenta3a135b00f0facd726cd46fa91c5c08fb06661ef (diff)
downloadaur-95b47eef47e7fddb5d1f5528ab5133a058e86e63.tar.gz
7.0.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD45
2 files changed, 21 insertions, 32 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5f4d821836f..77cb5d67ba9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mingw-w64-tools
pkgdesc = MinGW-w64 utilities
- pkgver = 6.0.0
+ pkgver = 7.0.0
pkgrel = 1
url = http://mingw-w64.sourceforge.net
arch = i686
@@ -10,10 +10,10 @@ pkgbase = mingw-w64-tools
license = LGPL2
options = !libtool
options = !emptydirs
- source = https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v6.0.0.tar.bz2
- source = https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v6.0.0.tar.bz2.sig
+ 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 = 805e11101e26d7897fce7d49cbb140d7bac15f3e085a91e0001e80b2adaf48f0
+ sha256sums = f5c9a04e1a6c02c9ef2ec19b3906ec4613606d1b5450d34bbd3c4d94ac696b3b
sha256sums = SKIP
pkgname = mingw-w64-tools
diff --git a/PKGBUILD b/PKGBUILD
index 1badfb8049b..34973d875ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=mingw-w64-tools
-pkgver=6.0.0
+pkgver=7.0.0
pkgrel=1
pkgdesc="MinGW-w64 utilities"
arch=(i686 x86_64)
@@ -9,48 +9,37 @@ 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=('805e11101e26d7897fce7d49cbb140d7bac15f3e085a91e0001e80b2adaf48f0'
+sha256sums=('f5c9a04e1a6c02c9ef2ec19b3906ec4613606d1b5450d34bbd3c4d94ac696b3b'
'SKIP')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
build() {
cd "${srcdir}"
- mkdir -p "${srcdir}"/gendef-build && cd "${srcdir}"/gendef-build
- "${srcdir}"/mingw-w64-v${pkgver}/mingw-w64-tools/gendef/configure --prefix=/usr
- make
- mkdir -p "${srcdir}"/genidl-build && cd "${srcdir}"/genidl-build
- "${srcdir}"/mingw-w64-v${pkgver}/mingw-w64-tools/genidl/configure --prefix=/usr
- make
- mkdir -p "${srcdir}"/genlib-build && cd "${srcdir}"/genlib-build
- "${srcdir}"/mingw-w64-v${pkgver}/mingw-w64-tools/genlib/configure --prefix=/usr
- make
- mkdir -p "${srcdir}"/genpeimg-build && cd "${srcdir}"/genpeimg-build
- "${srcdir}"/mingw-w64-v${pkgver}/mingw-w64-tools/genpeimg/configure --prefix=/usr
- make
+ 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
+ make
+ done
for _arch in ${_architectures}; do
mkdir -p "${srcdir}"/widl-${_arch}-build && cd "${srcdir}"/widl-${_arch}-build
- "${srcdir}"/mingw-w64-v${pkgver}/mingw-w64-tools/widl/configure --prefix=/usr --target=${_arch} \
+ "${srcdir}"/mingw-w64-v6.0.0/mingw-w64-tools/widl/configure --prefix=/usr --target=${_arch} \
--program-prefix="${_arch}-"
make
done
}
package() {
- cd "${srcdir}/gendef-build"
- make DESTDIR="${pkgdir}" install
- cd ../genidl-build
- make DESTDIR="${pkgdir}" install
- cd ../genlib-build
- make DESTDIR="${pkgdir}" install
- cd ../genpeimg-build
- make DESTDIR="${pkgdir}" install
+ for tool in gendef genidl genlib genpeimg; do
+ cd "${srcdir}/${tool}-build"
+ make DESTDIR="${pkgdir}" install
+ done
for _arch in ${_architectures}; do
- cd ../widl-${_arch}-build
+ cd "${srcdir}/widl-${_arch}-build"
make DESTDIR="${pkgdir}" install
done
- 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"
+ 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"
}