summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2018-09-18 23:15:33 +0200
committerMichel Zou2018-09-18 23:15:33 +0200
commita3a135b00f0facd726cd46fa91c5c08fb06661ef (patch)
tree0bf6398163ee3aac8c8741b6f0bc82dae6cc4070
parentccaf86cdf795191572330082e5da6102d3fc4463 (diff)
downloadaur-a3a135b00f0facd726cd46fa91c5c08fb06661ef.tar.gz
6.0.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD78
2 files changed, 42 insertions, 44 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 648e3ae4f24..5f4d821836f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mingw-w64-tools
pkgdesc = MinGW-w64 utilities
- pkgver = 5.0.4
+ pkgver = 6.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-v5.0.4.tar.bz2
- source = https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v5.0.4.tar.bz2.sig
+ 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
validpgpkeys = CAF5641F74F7DFBA88AE205693BDB53CD4EBC740
- sha256sums = 5527e1f6496841e2bb72f97a184fc79affdcd37972eaa9ebf7a5fd05c31ff803
+ sha256sums = 805e11101e26d7897fce7d49cbb140d7bac15f3e085a91e0001e80b2adaf48f0
sha256sums = SKIP
pkgname = mingw-w64-tools
diff --git a/PKGBUILD b/PKGBUILD
index 6ceae208471..1badfb8049b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,5 @@
pkgname=mingw-w64-tools
-pkgver=5.0.4
-_pkgver=${pkgver/rc/-rc}
+pkgver=6.0.0
pkgrel=1
pkgdesc="MinGW-w64 utilities"
arch=(i686 x86_64)
@@ -9,50 +8,49 @@ license=("GPL3" "LGPL2")
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=('5527e1f6496841e2bb72f97a184fc79affdcd37972eaa9ebf7a5fd05c31ff803'
+source=(https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v${pkgver}.tar.bz2{,.sig})
+sha256sums=('805e11101e26d7897fce7d49cbb140d7bac15f3e085a91e0001e80b2adaf48f0'
'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 _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} \
- --program-prefix="${_arch}-"
- make
- done
+ 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 _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} \
+ --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 _arch in ${_architectures}; do
- cd ../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"
-
+ 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 _arch in ${_architectures}; do
+ cd ../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"
}