#Maintainer: George Vlahavas (vlahavas~at~gmail.com) # # You will need the yasm package if you want to rebuild this with assembly support (as it already is) pkgname=mac pkgver=3.99.u4.b5 pkgrel=1gv arch=x86_64 source=("http://pnboy.pinguix.com/gapan/mac/mac-3.99-u4-b5.tar.gz" "mac-3.99-u4-b5-s4.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "licence.htm" "credits.txt" "history.txt" "readme.htm") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mac (Monkey's Audio encoder/decoder)" "mac is an encoder and decoder for Monkey's Audio, a lossless" "audio compression format." ) build() { cd $startdir/src/mac-3.99-u4-b5 patch -p1 < $startdir/src/mac-3.99-u4-b5-s4.patch # shntool patch sed -i -e 's/-O3//' configure # Patch for proper flags ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --enable-assembler make || return 1 make install DESTDIR=$startdir/pkg }