summaryrefslogtreecommitdiff
path: root/community/cdcd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/cdcd
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/cdcd')
-rw-r--r--community/cdcd/PKGBUILD44
-rw-r--r--community/cdcd/cdcd-0.6.6-x86_64.patch11
-rw-r--r--community/cdcd/cdcd.install20
3 files changed, 0 insertions, 75 deletions
diff --git a/community/cdcd/PKGBUILD b/community/cdcd/PKGBUILD
deleted file mode 100644
index 784863a2c..000000000
--- a/community/cdcd/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# $Id: PKGBUILD 86149 2013-03-12 09:55:52Z cinelli $
-# Maintainer: Federico Cinelli <cinelli@aur.archlinux.org>
-# Contributor dorphell <dorphell@archlinux.org>
-# Contributor Sarah Hay <sarahhay@mb.sympatico.ca>
-
-pkgname=cdcd
-pkgver=0.6.6
-pkgrel=6
-pkgdesc="A commandline cd-player"
-arch=('i686' 'x86_64')
-depends=('libcdaudio' 'readline')
-url="http://libcdaudio.sourceforge.net/"
-license=('GPL2')
-install=cdcd.install
-source=("http://downloads.sourceforge.net/libcdaudio/$pkgname-$pkgver.tar.gz")
-md5sums=('dc17f2e275c7214cb693f6abb50f29fb')
-
-if [[ "$CARCH" == "x86_64" ]]; then
- source+=("cdcd-0.6.6-$CARCH.patch")
- md5sums+=('7c39f01408fc084e2c62da4da324370e')
-fi
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- if [[ "$CARCH" == "x86_64" ]]; then
- patch -Np1 -i "$srcdir/cdcd-0.6.6-$CARCH.patch"
- fi
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make PREFIX=/usr DESTDIR="$pkgdir" install
-
- mv "$pkgdir/usr/info" "$pkgdir/usr/share/"
- mv "$pkgdir/usr/man/" "$pkgdir/usr/share/"
- rm "$pkgdir/usr/share/dir"
-
- install -dm755 "$pkgdir/usr/bin" "$pkgdir/usr/share"
-}
diff --git a/community/cdcd/cdcd-0.6.6-x86_64.patch b/community/cdcd/cdcd-0.6.6-x86_64.patch
deleted file mode 100644
index 25d122435..000000000
--- a/community/cdcd/cdcd-0.6.6-x86_64.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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'
diff --git a/community/cdcd/cdcd.install b/community/cdcd/cdcd.install
deleted file mode 100644
index e859c40b7..000000000
--- a/community/cdcd/cdcd.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(cdcd.info.gz)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
- done
-}