[arch-commits] Commit in libcdio/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Jan 11 10:40:11 UTC 2018


    Date: Thursday, January 11, 2018 @ 10:40:10
  Author: heftig
Revision: 314354

2.0.0-1

Modified:
  libcdio/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-11 10:29:39 UTC (rev 314353)
+++ PKGBUILD	2018-01-11 10:40:10 UTC (rev 314354)
@@ -1,27 +1,27 @@
 # $Id$
-# Maintainer:
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 # Contributor: damir <damir at archlinux.org>
 
 pkgname=libcdio
-pkgver=1.1.0
+pkgver=2.0.0
 pkgrel=1
 pkgdesc="GNU Compact Disc Input and Control Library"
-arch=('x86_64')
-license=('GPL3')
 url="https://www.gnu.org/software/libcdio/"
-depends=('libcddb' 'ncurses' 'gcc-libs')
-source=(https://ftp.gnu.org/gnu/libcdio/${pkgname}-${pkgver}.tar.gz{,.sig})
-sha256sums=('785c32494e4770c38bef09b1a545ef3acec8ccfbf2b799cb7e70dc380cbcf164'
+arch=(x86_64)
+license=(GPL3)
+depends=(libcddb ncurses gcc-libs)
+source=(https://ftp.gnu.org/gnu/libcdio/$pkgname-$pkgver.tar.bz2{,.sig})
+sha256sums=('cd0da052a0e149e2526c41c5ac37b4865deb5c1cffe6faed18850154dbbd284b'
             'SKIP')
 validpgpkeys=('DAA63BC2582034A02B923D521A8DE5008275EC21') # R. Bernstein
 
 prepare() {
-  cd ${pkgname}-${pkgver}
+  cd $pkgname-$pkgver
   autoreconf -fi
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --disable-vcd-info --enable-cpp-progs --disable-static
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
@@ -28,14 +28,14 @@
 }
 
 check() {
-  cd ${pkgname}-${pkgver}
+  cd $pkgname-$pkgver
   make -C test check
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make -j1 DESTDIR="${pkgdir}" install
-  
-  sed -i "/LIBCDIO_SOURCE_PATH/s|.*|/* #undef LIBCDIO_SOURCE_PATH */|" \
-    $pkgdir/usr/include/cdio/cdio_config.h
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  sed -e "/define CDIO_LIBCDIO_SOURCE_PATH/s|.*|/* #undef CDIO_LIBCDIO_SOURCE_PATH */|" \
+      -i "$pkgdir/usr/include/cdio/cdio_config.h"
 }



More information about the arch-commits mailing list