1 # chen bin <chenbin.sh AT gmail DOT com>
5 pkgdesc="A tool for quantizing PNG images in RGBA format - svn version"
7 url="http://pngnq.sourceforge.net/"
9 license=('Attribution-Noncommercial-Share Alike 2.5 Australia')
10 depends=('zlib' 'libpng')
11 makedepends=('subversion')
14 replaces=('pngnq-svn')
17 _svntrunk="https://pngnq.svn.sourceforge.net/svnroot/pngnq"
20 mkdir -p ~/.subversion; touch ~/.subversion/servers
21 msg "Connecting to $_svnmod.sourceforge.net SVN server...."
22 svn co $_svntrunk $_svnmod
24 msg "SVN checkout done or server timeout"
25 msg "Starting make..."
28 ln -sf `\ls /usr/share/automake*/install-sh` install-sh
29 ln -sf `\ls /usr/share/automake*/missing` missing
30 ln -sf `\ls /usr/share/automake*/depcomp` depcomp
31 ./configure --prefix=/usr
32 msg "Starting build process."
34 mkdir -p $startdir/pkg/usr/bin/
35 cp pngcomp $startdir/pkg/usr/bin/pngcomp
36 cp pngnq $startdir/pkg/usr/bin/pngnq