summaryrefslogtreecommitdiff
path: root/community/cdcd/PKGBUILD
blob: e840a3d389b556374cf8df32495343c06f709387 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}