1 # Contributor: Jordy van Wolferen <jordz@archlinux.us>
6 pkgdesc="Open source RUU for HTC devices"
8 url="http://code.google.com/p/htc-flasher/"
10 source=(http://htc-flasher.googlecode.com/files/HTCFlasher-$pkgver-1.tar.gz)
11 md5sums=('d0bcbc2a9dfc931351b4fc487a222bb0')
15 cd ${srcdir}/HTCFlasher-$pkgver
17 if [ "$CARCH" = "x86_64" ]; then
18 sed -i 's/m32/m64/g' src/Makefile
23 mkdir -p ${pkgdir}/usr/bin
24 mkdir -p ${pkgdir}/usr/share/man/man1
26 install -m 755 src/HTCFlasher ${pkgdir}/usr/bin/htcflasher
27 install -m 755 src/yang ${pkgdir}/usr/bin/yang
29 install -m 444 man/HTCFlasher.1 ${pkgdir}/usr/share/man/man1/htcflasher.1
30 install -m 444 man/yang.1 ${pkgdir}/usr/share/man/man1/yang.1