#Maintainer: Ejis #Mandatory category=extra/l pkgname=alpng pkgver=1.3 pkgrel=1 zenver=60 arch=i486 source=("http://downloads.sourceforge.net/alpng/alpng13.tar.gz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/ejis/$category/$pkgname/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname" "This library servers for displaying PNG images in programs using" "the Allegro multimedia library. It's completely standalone, it" "doesn't require libpng nor zlib (however it can use zlib if" "installed). " ) build() { sed -i "s:-O3:-O2 -march=\"i486\" -mtune=\"i686\":g" ./Makefile make mkdir -p $startdir/pkg/usr/lib mkdir $startdir/pkg/usr/include mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver cp ./libalpng.a $startdir/pkg/usr/lib/ cp ./src/alpng.h $startdir/pkg/usr/include/ cp ./doc.html $startdir/pkg/usr/doc/$pkgname-$pkgver/ cp ./changes.txt $startdir/pkg/usr/doc/$pkgname-$pkgver/ } #Optional docs=('authors' 'copying' 'changelog' 'install' 'news' 'readme') #options=('noextract' 'norequiredbuilder') url="http://alpng.sourceforge.net/" #extradepends=('') #lessdepends=('') #dotnew=('etc/thing' 'etc/foo' 'etc/bar') #CFLAGS="-03" #CXXFLAGS="-03"