updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / msvc60 / PKGBUILD
blobf82aed68efddf76207f0dae37fe60ecffc1c0f54
1 # Contributor: vn158 <vn158 at seznam dot cz>
3 pkgname=msvc60
4 pkgver=1
5 pkgrel=2
6 pkgdesc="Latest version of the Microsoft Visual C++ 6.0 SP4 run-time files"
7 url="http://www.microsoft.com/"
8 arch=(i686 x86_64)
9 makedepends=('cabextract')
10 license=('custom:redistributable')
11 source=(http://download.microsoft.com/download/vc60pro/update/1/w9xnt4/en-us/vc6redistsetup_enu.exe)
12 md5sums=('dd50945bcf3e09e22453be43684f3d39')
13 noextract=(vc6redistsetup_enu.exe)
14 options=(!strip)
16 build() {
18   cd "$startdir"
19   install -d -m755 pkg/usr/share/$pkgname
21   cd "$startdir"/src
23   cabextract -q vc6redistsetup_enu.exe
24   cabextract -q vcredist.exe
25   
26   cp -a asycfilt.dll atla.dll atlu.dll comcat.dll mfc42.dll mfc42u.dll msvcirt.dll msvcp60.dll msvcrt.dll oleaut32.dll olepro32.dll stdole2.tlb ../pkg/usr/share/$pkgname
27   find ../pkg/usr/share/$pkgname -type d -exec chmod 755 "{}" \;
28   find ../pkg/usr/share/$pkgname -type f -exec chmod 644 "{}" \;
31