1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
2 # Former Maintainer: dorphell <dorphell@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
8 pkgdesc="For putting the sound of, for example gramophone records on CDs"
10 source=("gramofile-1.6-64bit.patch" \
11 "http://www.opensourcepartners.nl/~costar/$pkgname/$pkgname-$pkgver.tar.gz")
12 md5sums=('40aee998927430b81f1b483ccaed615c' '986c86c6fa17c064bc17c2936cc833e0')
14 url="http://www.opensourcepartners.nl/~costar/gramofile/"
17 cd $srcdir/$pkgname-$pkgver
18 sed -i -e "s/CFLAGS = -Wall -O2 -DTURBO_MEDIAN -DTURBO_BUFFER/CFLAGS \= -Wall `echo ${CFLAGS}` -DTURBO_MEDIAN -DTURBO_BUFFER/" Makefile
19 if [ "$CARCH" = "x86_64" ]; then
20 patch -Np0 -i ../gramofile-1.6-64bit.patch || return 1
21 sed -i -e "s/-DREDHAT50//" bplaysrc/Makefile
24 install -Dm755 gramofile $pkgdir/usr/bin/gramofile || return 1
25 install -m755 bplay_gramo brec_gramo $pkgdir/usr/bin/ || return 1