summaryrefslogtreecommitdiff
path: root/community/cdcd/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-21 23:14:42 +0000
committerroot <root@rshg054.dnsready.net>2011-09-21 23:14:42 +0000
commitb7f839da11975b9f2a964a82d591b7a8628f0931 (patch)
treebb6a7aee842680de3a5038e34d27256ca1d389ef /community/cdcd/PKGBUILD
parentae08410274473c5ab78d300ea2365c4b1070cc61 (diff)
Wed Sep 21 23:14:42 UTC 2011
Diffstat (limited to 'community/cdcd/PKGBUILD')
-rw-r--r--community/cdcd/PKGBUILD29
1 files changed, 17 insertions, 12 deletions
diff --git a/community/cdcd/PKGBUILD b/community/cdcd/PKGBUILD
index e840a3d38..f9d78ad68 100644
--- a/community/cdcd/PKGBUILD
+++ b/community/cdcd/PKGBUILD
@@ -1,28 +1,33 @@
-# $Id: PKGBUILD 52061 2009-09-14 22:50:09Z giovanni $
+# $Id: PKGBUILD 55773 2011-09-20 06:44:34Z andrea $
# Maintainer: dorphell <dorphell@archlinux.org>
-#contributor Sarah Hay <sarahhay@mb.sympatico.ca>
+# Contributor Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=cdcd
pkgver=0.6.6
-pkgrel=5
+pkgrel=6
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')
+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 $startdir/src/$pkgname-$pkgver
- patch -Np1 -i ${srcdir}/cdcd-0.6.6-x86_64.patch
+ cd "${srcdir}"/$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
+ 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
+ install -dm755 "${pkgdir}"/usr/share
+ mv "${pkgdir}"/usr/{man,info} "${pkgdir}"/usr/share
+ rm "${pkgdir}"/usr/share/info/dir
}