[arch-commits] Commit in cdcd/repos (6 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Nov 6 20:41:42 UTC 2016


    Date: Sunday, November 6, 2016 @ 20:41:41
  Author: bpiotrowski
Revision: 194810

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  cdcd/repos/community-staging-i686/
  cdcd/repos/community-staging-i686/PKGBUILD
    (from rev 194809, cdcd/trunk/PKGBUILD)
  cdcd/repos/community-staging-i686/cdcd-0.6.6-x86_64.patch
    (from rev 194809, cdcd/trunk/cdcd-0.6.6-x86_64.patch)
  cdcd/repos/community-staging-x86_64/
  cdcd/repos/community-staging-x86_64/PKGBUILD
    (from rev 194809, cdcd/trunk/PKGBUILD)
  cdcd/repos/community-staging-x86_64/cdcd-0.6.6-x86_64.patch
    (from rev 194809, cdcd/trunk/cdcd-0.6.6-x86_64.patch)

--------------------------------------------------+
 community-staging-i686/PKGBUILD                  |   46 +++++++++++++++++++++
 community-staging-i686/cdcd-0.6.6-x86_64.patch   |   11 +++++
 community-staging-x86_64/PKGBUILD                |   46 +++++++++++++++++++++
 community-staging-x86_64/cdcd-0.6.6-x86_64.patch |   11 +++++
 4 files changed, 114 insertions(+)

Copied: cdcd/repos/community-staging-i686/PKGBUILD (from rev 194809, cdcd/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-11-06 20:41:41 UTC (rev 194810)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Federico Cinelli <cinelli at aur.archlinux.org>
+# Contributor dorphell <dorphell at archlinux.org>
+# Contributor Sarah Hay <sarahhay at mb.sympatico.ca>
+
+pkgname=cdcd
+pkgver=0.6.6
+pkgrel=9
+pkgdesc="A commandline cd-player"
+arch=('i686' 'x86_64')
+depends=('libcdaudio' 'readline')
+url="http://libcdaudio.sourceforge.net/"
+license=('GPL2')
+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
+
+
+  sed -i 's/(CPPFunction \*)/(rl_completion_func_t \*)/' cmd_cdcd.c
+
+  ./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"
+}

Copied: cdcd/repos/community-staging-i686/cdcd-0.6.6-x86_64.patch (from rev 194809, cdcd/trunk/cdcd-0.6.6-x86_64.patch)
===================================================================
--- community-staging-i686/cdcd-0.6.6-x86_64.patch	                        (rev 0)
+++ community-staging-i686/cdcd-0.6.6-x86_64.patch	2016-11-06 20:41:41 UTC (rev 194810)
@@ -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'

Copied: cdcd/repos/community-staging-x86_64/PKGBUILD (from rev 194809, cdcd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-11-06 20:41:41 UTC (rev 194810)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Federico Cinelli <cinelli at aur.archlinux.org>
+# Contributor dorphell <dorphell at archlinux.org>
+# Contributor Sarah Hay <sarahhay at mb.sympatico.ca>
+
+pkgname=cdcd
+pkgver=0.6.6
+pkgrel=9
+pkgdesc="A commandline cd-player"
+arch=('i686' 'x86_64')
+depends=('libcdaudio' 'readline')
+url="http://libcdaudio.sourceforge.net/"
+license=('GPL2')
+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
+
+
+  sed -i 's/(CPPFunction \*)/(rl_completion_func_t \*)/' cmd_cdcd.c
+
+  ./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"
+}

Copied: cdcd/repos/community-staging-x86_64/cdcd-0.6.6-x86_64.patch (from rev 194809, cdcd/trunk/cdcd-0.6.6-x86_64.patch)
===================================================================
--- community-staging-x86_64/cdcd-0.6.6-x86_64.patch	                        (rev 0)
+++ community-staging-x86_64/cdcd-0.6.6-x86_64.patch	2016-11-06 20:41:41 UTC (rev 194810)
@@ -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'



More information about the arch-commits mailing list