FIX: Download pngquant from git repository
authorRafael dos Santos Silva <xfalcox@gmail.com>
Mon, 26 Jun 2017 23:36:01 +0000 (20:36 -0300)
committerRafael dos Santos Silva <xfalcox@gmail.com>
Mon, 26 Jun 2017 23:36:01 +0000 (20:36 -0300)
Makefile depends on git submodule, so this is mandatory for now

image/base/install-pngquant

index 57d766915cfe4f42659d1ce2f8eb61f924549346..bc44eab7c7d6ac7dee3aaf1cf743f0669cf356b6 100755 (executable)
@@ -1,11 +1,8 @@
 #!/bin/bash
 VERSION=2.8.0
 cd /tmp
-wget https://github.com/pornel/pngquant/archive/$VERSION.tar.gz
-tar zxf $VERSION.tar.gz
-cd pngquant-$VERSION
-./configure
+git clone -b $VERSION --single-branch https://github.com/pornel/pngquant
+cd pngquant
 make && make install
 cd /
 rm -fr /tmp/pngq*
-rm -fr /tmp/$VERSION*