updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / ecm / PKGBUILD
blob834561dd669c8e567e1d08509cf36bfbbd663d77
1 # Contributor: Slash <demodevil5 at yahoo dot com>
2 # Contributor: Nathan Owe <ndowens.aur at gmail dot com>
3 # Contributor: Christoph Zeiler <rabyte*gmail>
5 pkgname=ecm
6 pkgver=1.02
7 pkgrel=1
8 pkgdesc="Converts CD image files into a lossless format optimized for compression tools"
9 arch=('i686' 'x86_64')
10 url="http://www.neillcorlett.com/ecm/"
11 license=('GPL3')
12 depends=('glibc')
13 provides=('unecm')
14 source=("http://www.neillcorlett.com/downloads/cmdpack-${pkgver}-src.tar.gz")
15 md5sums=('bb83fcac33b560f365fb3c2fc33b8480')
17 build() {
18     cd ${srcdir}/cmdpack-${pkgver}-src/src/
20     gcc -O9 -Wall -Wextra -Werror -fomit-frame-pointer "ecm.c" -s -o "ecm"
23 package() {
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