blob: f9d78ad6837e13cc4f9ab133df722e399f5ccd5a (
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
29
30
31
32
33
|
# $Id: PKGBUILD 55773 2011-09-20 06:44:34Z andrea $
# Maintainer: 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"
cdcd-0.6.6-x86_64.patch)
md5sums=('dc17f2e275c7214cb693f6abb50f29fb'
'7c39f01408fc084e2c62da4da324370e')
build() {
cd "${srcdir}"/$pkgname-$pkgver
patch -Np1 -i "${srcdir}"/cdcd-0.6.6-x86_64.patch
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}"/$pkgname-$pkgver
make prefix="${pkgdir}"/usr install
install -dm755 "${pkgdir}"/usr/share
mv "${pkgdir}"/usr/{man,info} "${pkgdir}"/usr/share
rm "${pkgdir}"/usr/share/info/dir
}
|