#!/bin/sh MAKEDEPS="make " DEPS="" PKG_VER=1.6.37 SOURCE=https://downloads.sourceforge.net/libpng/libpng-$PKG_VER.tar.xz DESC="A collection of routines used to create PNG images" build () { ./configure --prefix=/usr --disable-static && make } package () { make DESTDIR=$PKG_DEST install mkdir -v /usr/share/doc/libpng-$PKG_VER && cp -v README libpng-manual.txt /usr/share/doc/libpng-$PKG_VER }