1 # Contributer: v2punkt0 <v2punkt0@gmail.com>
6 pkgdesc="The latest hg pull of ourico"
7 url="http://www.rootshell.be/~polachok/code/"
10 depends=('libx11' 'libxft' 'pkgconfig')
11 makedepends=('mercurial' 'sed')
17 _hgroot='http://freehg.org/u/polachok'
23 # update the repo, else clone a new one
24 if [ -d $_hgrepo ]; then
29 hg clone ${_hgroot}/${_hgrepo}
33 # add correct settings to config.mk
34 sed -i "s|^PREFIX =.*|PREFIX = /usr|" config.mk
35 sed -i "s|^X11INC =.*|X11INC = /usr/include/X11|" config.mk
36 sed -i "s|^X11LIB =.*|X11LIB = /usr/lib/X11|" config.mk
38 msg "Starting build process."
40 make PREFIX=$startdir/pkg/usr install
42 mkdir -p $startdir/pkg/usr/share/licenses/ourico
43 cp LICENSE $startdir/pkg/usr/share/licenses/ourico