1 # Contributor: Slash <demodevil5 at yahoo dot com>
2 # Contributor: Nathan Owe <ndowens.aur at gmail dot com>
3 # Contributor: Christoph Zeiler <rabyte*gmail>
8 pkgdesc="Converts CD image files into a lossless format optimized for compression tools"
10 url="http://www.neillcorlett.com/ecm/"
14 source=("http://www.neillcorlett.com/downloads/cmdpack-${pkgver}-src.tar.gz")
15 md5sums=('bb83fcac33b560f365fb3c2fc33b8480')
18 cd ${srcdir}/cmdpack-${pkgver}-src/src/
20 gcc -O9 -Wall -Wextra -Werror -fomit-frame-pointer "ecm.c" -s -o "ecm"
24 cd ${srcdir}/cmdpack-${pkgver}-src/src/
26 install -Dm755 ecm ${pkgdir}/usr/bin/ecm
27 ln -s /usr/bin/ecm ${pkgdir}/usr/bin/unecm