pkgname: 'ttf-ms-fonts' pkgver: '2.0' pkgrel: '1' pkgdesc: 'Core TTF Fonts from Microsoft' url: 'https://corefonts.sourceforge.net' arch: x86_64 depends: [] makedepends: - 'xorg-libx11' - 'xorg-fontconfig' - libarchive - p7zip source: - 'https://downloads.sourceforge.net/corefonts/andale32.exe' - 'https://downloads.sourceforge.net/corefonts/arial32.exe' - 'https://downloads.sourceforge.net/corefonts/arialb32.exe' - 'https://downloads.sourceforge.net/corefonts/comic32.exe' - 'https://downloads.sourceforge.net/corefonts/courie32.exe' - 'https://downloads.sourceforge.net/corefonts/georgi32.exe' - 'https://downloads.sourceforge.net/corefonts/impact32.exe' - 'https://downloads.sourceforge.net/corefonts/times32.exe' - 'https://downloads.sourceforge.net/corefonts/trebuc32.exe' - 'https://downloads.sourceforge.net/corefonts/verdan32.exe' - 'https://downloads.sourceforge.net/corefonts/webdin32.exe' sha256sums: - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP build: | for i in *.exe; do 7z e -y $i; done install -dm755 "${PKGDIR}/usr/share/fonts/TTF" for font in *.{ttf,TTF}; do install -m644 $font ${PKGDIR}/usr/share/fonts/TTF/$(echo $font|tr A-Z a-z) done package: | true