summaryrefslogtreecommitdiff
path: root/community/mingw32-pthreads/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-11 00:01:34 +0000
committerroot <root@rshg054.dnsready.net>2012-07-11 00:01:34 +0000
commit77ccbb95513007eebb5e10afe08d486498b9885d (patch)
tree4d7f9f97c6a39d6ad50d8a929a2e2c7fd076f076 /community/mingw32-pthreads/PKGBUILD
parent0615a909b089a81d068ae10517ceff31dabfece1 (diff)
Wed Jul 11 00:01:34 UTC 2012
Diffstat (limited to 'community/mingw32-pthreads/PKGBUILD')
-rw-r--r--community/mingw32-pthreads/PKGBUILD25
1 files changed, 12 insertions, 13 deletions
diff --git a/community/mingw32-pthreads/PKGBUILD b/community/mingw32-pthreads/PKGBUILD
index 48a1ca469..f34d87ddf 100644
--- a/community/mingw32-pthreads/PKGBUILD
+++ b/community/mingw32-pthreads/PKGBUILD
@@ -1,34 +1,33 @@
-# $Id: PKGBUILD 66225 2012-02-23 05:01:23Z spupykin $
+# $Id: PKGBUILD 73530 2012-07-09 08:46:34Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Marcel Schneider marcelATcoopmastersDOTde
pkgname=mingw32-pthreads
-pkgver=2.8.0
-_pkgver=2-8-0
-pkgrel=3
+pkgver=2.9.1
+pkgrel=1
arch=(i686 x86_64)
pkgdesc="The POSIX 1003.1-2001 standard for writing multithreaded applications."
license=(LGPL)
makedepends=('mingw32-gcc-base' 'mingw32-runtime' 'mingw32-w32api')
url="http://sourceware.org/pthreads-win32/"
options=(!strip)
-source=(ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-$_pkgver-release.tar.gz)
-md5sums=('6d30c693233b1464ef8983fedd8ccb22')
+source=(ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-${pkgver//./-}-release.tar.gz)
+md5sums=('36ba827d6aa0fa9f9ae740a35626e2e3')
build() {
- cd $srcdir/pthreads-w32-$_pkgver-release
+ cd $srcdir/pthreads-w32-${pkgver//./-}-release
make CROSS=i486-mingw32- clean GC
}
package() {
- cd $srcdir/pthreads-w32-$_pkgver-release
+ cd $srcdir/pthreads-w32-${pkgver//./-}-release
mkdir $pkgdir/usr
mkdir $pkgdir/usr/i486-mingw32
mkdir $pkgdir/usr/i486-mingw32/include
mkdir $pkgdir/usr/i486-mingw32/lib
- install $srcdir/pthreads-w32-$_pkgver-release/pthread.h $pkgdir/usr/i486-mingw32/include/pthread.h
- install $srcdir/pthreads-w32-$_pkgver-release/sched.h $pkgdir/usr/i486-mingw32/include/sched.h
- install $srcdir/pthreads-w32-$_pkgver-release/semaphore.h $pkgdir/usr/i486-mingw32/include/semaphore.h
- install $srcdir/pthreads-w32-$_pkgver-release/libpthreadGC2.a $pkgdir/usr/i486-mingw32/lib/libpthread.a
- install $srcdir/pthreads-w32-$_pkgver-release/pthreadGC2.dll $pkgdir/usr/i486-mingw32/lib/
+ install $srcdir/pthreads-w32-${pkgver//./-}-release/pthread.h $pkgdir/usr/i486-mingw32/include/pthread.h
+ install $srcdir/pthreads-w32-${pkgver//./-}-release/sched.h $pkgdir/usr/i486-mingw32/include/sched.h
+ install $srcdir/pthreads-w32-${pkgver//./-}-release/semaphore.h $pkgdir/usr/i486-mingw32/include/semaphore.h
+ install $srcdir/pthreads-w32-${pkgver//./-}-release/libpthreadGC2.a $pkgdir/usr/i486-mingw32/lib/libpthread.a
+ install $srcdir/pthreads-w32-${pkgver//./-}-release/pthreadGC2.dll $pkgdir/usr/i486-mingw32/lib/
}