summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichel Zou2018-10-17 20:48:38 +0200
committerMichel Zou2018-10-17 20:48:38 +0200
commit3fbca2e029e3a0496f3abd211db13c08d9b2b8a5 (patch)
tree56f451ff0d6ac92ad5999985048c1c57d317f7d0 /PKGBUILD
parent47938582a80752ebdd04f03d87a1cc357e4b437c (diff)
downloadaur-mingw-w64-resource.tar.gz
unmaintained_fields
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5922455b4dd..f96b84b3c23 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=mingw-w64-resource
pkgver=0
-pkgrel=1
+pkgrel=2
pkgdesc='support for getrusage (mingw-w64)'
url='http://sourceforge.net/p/mingw-w64/code/HEAD/tree/experimental/getrusage'
arch=('any')
@@ -10,11 +10,17 @@ license=('custom')
depends=('mingw-w64-crt')
makedepends=('mingw-w64-gcc' 'subversion')
options=('staticlibs' '!buildflags' '!strip')
-source=("sys::svn+svn://svn.code.sf.net/p/mingw-w64/code/experimental/getrusage")
-md5sums=('SKIP' )
+source=("sys::svn+svn://svn.code.sf.net/p/mingw-w64/code/experimental/getrusage" unmaintained_fields.patch)
+md5sums=('SKIP' SKIP)
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+prepare () {
+ cd sys
+ # http://man7.org/linux/man-pages/man2/getrusage.2.html
+ patch -p0 -i "${srcdir}"/unmaintained_fields.patch
+}
+
build() {
cd "${srcdir}"
for _arch in ${_architectures}; do