1 # Contributor: ice-man <icemanf@gmail.com>
5 pkgdesc="sisfbctrl a small utility to change the screen's position on the TV, and to enable or disable CRT1 VGA output after sisfb has been started"
7 makedepends=('gcc' 'make')
9 source=(http://www.winischhofer.net/sis/sisfbctrl_src_$pkgver-1.tar.gz)
10 url="http://www.winischhofer.at/linuxsisvga.shtml"
11 md5sums=('b190274e81098296d2d06c73b9bb0521')
14 # This is needed due to that downloaded file is wrong so tar give an error but you can succesfully avoid that
20 echo -e "\033[1;32m==>\033[1;0m \033[1;1m$1\033[1;0m" >&2
21 msg "Validating source files with MD5sums"
22 echo "${md5sums[0]} $file" | md5sum -c - >/dev/null 2>&1
24 echo " $file ... FAILED" >&2
28 echo " $file ... Passed" >&2
30 echo -e "\033[1;32m==>\033[1;0m \033[1;1m$1\033[1;0m" >&2
31 msg "Extracting Sources..."
32 msg "\ttar --use-compress-program=gzip -xf $file"
33 tar --use-compress-program=gzip -xf $file >/dev/null 2>&1
37 mkdir -p $startdir/pkg/usr/bin
39 install -m 755 sisfbctrl $startdir/pkg/usr/bin