Date: Saturday, November 17, 2012 @ 03:55:42
  Author: heftig
Revision: 171322

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  check/repos/extra-i686/
  check/repos/extra-i686/PKGBUILD
    (from rev 171321, check/trunk/PKGBUILD)
  check/repos/extra-i686/check.install
    (from rev 171321, check/trunk/check.install)
  check/repos/extra-x86_64/
  check/repos/extra-x86_64/PKGBUILD
    (from rev 171321, check/trunk/PKGBUILD)
  check/repos/extra-x86_64/check.install
    (from rev 171321, check/trunk/check.install)

----------------------------+
 extra-i686/PKGBUILD        |   31 +++++++++++++++++++++++++++++++
 extra-i686/check.install   |   20 ++++++++++++++++++++
 extra-x86_64/PKGBUILD      |   31 +++++++++++++++++++++++++++++++
 extra-x86_64/check.install |   20 ++++++++++++++++++++
 4 files changed, 102 insertions(+)

Copied: check/repos/extra-i686/PKGBUILD (from rev 171321, check/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD                         (rev 0)
+++ extra-i686/PKGBUILD 2012-11-17 08:55:42 UTC (rev 171322)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jaroslav Lichtblau <[email protected]>
+# Contributor: Jeremy Cowgar <[email protected]>
+
+pkgname=check
+pkgver=0.9.9
+pkgrel=1
+pkgdesc="A unit testing framework for C"
+arch=('i686' 'x86_64')
+url="http://check.sourceforge.net/";
+license=('LGPL')
+options=('!libtool')
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('f3702f2fcfc19ce3f62dca66c241a168')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # get rid of the package's info directory,
+  # install-info adds entries for us at install-time
+  rm "$pkgdir/usr/share/info/dir"
+}

Copied: check/repos/extra-i686/check.install (from rev 171321, 
check/trunk/check.install)
===================================================================
--- extra-i686/check.install                            (rev 0)
+++ extra-i686/check.install    2012-11-17 08:55:42 UTC (rev 171322)
@@ -0,0 +1,20 @@
+_infodir=/usr/share/info
+_filelist=(check.info)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${_filelist[@]}; do
+    install-info $_infodir/$file $_infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${_filelist[@]}; do
+    install-info --delete $_infodir/$file $_infodir/dir 2> /dev/null
+  done
+}

Copied: check/repos/extra-x86_64/PKGBUILD (from rev 171321, 
check/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD                               (rev 0)
+++ extra-x86_64/PKGBUILD       2012-11-17 08:55:42 UTC (rev 171322)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jaroslav Lichtblau <[email protected]>
+# Contributor: Jeremy Cowgar <[email protected]>
+
+pkgname=check
+pkgver=0.9.9
+pkgrel=1
+pkgdesc="A unit testing framework for C"
+arch=('i686' 'x86_64')
+url="http://check.sourceforge.net/";
+license=('LGPL')
+options=('!libtool')
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('f3702f2fcfc19ce3f62dca66c241a168')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # get rid of the package's info directory,
+  # install-info adds entries for us at install-time
+  rm "$pkgdir/usr/share/info/dir"
+}

Copied: check/repos/extra-x86_64/check.install (from rev 171321, 
check/trunk/check.install)
===================================================================
--- extra-x86_64/check.install                          (rev 0)
+++ extra-x86_64/check.install  2012-11-17 08:55:42 UTC (rev 171322)
@@ -0,0 +1,20 @@
+_infodir=/usr/share/info
+_filelist=(check.info)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${_filelist[@]}; do
+    install-info $_infodir/$file $_infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${_filelist[@]}; do
+    install-info --delete $_infodir/$file $_infodir/dir 2> /dev/null
+  done
+}

Reply via email to