diff options
Diffstat (limited to 'community/cdcd')
-rw-r--r-- | community/cdcd/PKGBUILD | 28 | ||||
-rw-r--r-- | community/cdcd/cdcd-0.6.6-x86_64.patch | 11 |
2 files changed, 39 insertions, 0 deletions
diff --git a/community/cdcd/PKGBUILD b/community/cdcd/PKGBUILD new file mode 100644 index 000000000..e840a3d38 --- /dev/null +++ b/community/cdcd/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 52061 2009-09-14 22:50:09Z giovanni $ +# Maintainer: dorphell <dorphell@archlinux.org> +#contributor Sarah Hay <sarahhay@mb.sympatico.ca> + +pkgname=cdcd +pkgver=0.6.6 +pkgrel=5 +pkgdesc="A commandline cd-player" +arch=('i686' 'x86_64') +depends=('libcdaudio' 'readline') +source=(http://downloads.sourceforge.net/sourceforge/libcdaudio/$pkgname-$pkgver.tar.gz + cdcd-0.6.6-x86_64.patch) +url="http://libcdaudio.sourceforge.net/" +license=('GPL2') +md5sums=('dc17f2e275c7214cb693f6abb50f29fb' + '7c39f01408fc084e2c62da4da324370e') + +build() { + cd $startdir/src/$pkgname-$pkgver + patch -Np1 -i ${srcdir}/cdcd-0.6.6-x86_64.patch + ./configure --prefix=/usr + make || return 1 + make prefix=$startdir/pkg/usr install + + install -dm755 ${pkgdir}/usr/share + mv ${pkgdir}/usr/{man,info} ${pkgdir}/usr/share + rm ${pkgdir}/usr/share/info/dir +} diff --git a/community/cdcd/cdcd-0.6.6-x86_64.patch b/community/cdcd/cdcd-0.6.6-x86_64.patch new file mode 100644 index 000000000..25d122435 --- /dev/null +++ b/community/cdcd/cdcd-0.6.6-x86_64.patch @@ -0,0 +1,11 @@ +--- a/config.sub 2009-09-15 00:42:36.000000000 -0700 ++++ b/config.sub 2009-09-15 00:42:36.000000000 -0700 +@@ -155,7 +155,7 @@ + | alpha | we32k | ns16k | clipper | i370 | sh \ + | powerpc | powerpcle | 1750a | dsp16xx | mips64 | mipsel \ + | pdp11 | mips64el | mips64orion | mips64orionel \ +- | sparc | sparclet | sparclite | sparc64) ++ | sparc | sparclet | sparclite | sparc64 | x86_64-*) + basic_machine=$basic_machine-unknown + ;; + # We use `pc' rather than `unknown' |