updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / mingw32-dx8-headers / PKGBUILD
blob3715833edb15351c519820691f67b6e9158b4fb1
1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 # Contributor: rabyte <rabyte__gmail>
3 # Contributor: Alexander Jakopin <setrodox@users.sourceforge.net>
4 # Contributor: Matěj Týč <bubla@users.sourceforge.net>
6 pkgname=mingw32-dx8-headers
7 pkgver=8.0
8 pkgrel=1
9 pkgdesc="Minimal DirectX 8 SDK for MinGW (headers only)"
10 arch=('any')
11 url="http://msdn.microsoft.com/directx/"
12 license=('unknown')
13 depends=('mingw32-gcc')
14 provides=('mingw32-dx7-headers')
15 conflicts=('mingw32-dx7-headers')
16 source=(http://alleg.sourceforge.net/files/dx80_mgw.tar.gz)
17 md5sums=('6bd6a20fa39f3a8fe44439b92b891522')
19 build() {
20   cd $srcdir/include
22   for i in *.*; do
23         tr -d '\r' < $i > $i.new
24         mv -f $i.new $i
25   done
27   mkdir -p $pkgdir/usr/i486-mingw32/include
28   cp -rf *.* $pkgdir/usr/i486-mingw32/include/
30   # delete those that are already provided by mingw32-w32api
31   rm $pkgdir/usr/i486-mingw32/include/{dshow.h,dvdevcod.h,dvdmedia.h,dxerr8.h}