update check and fix check.install

This commit is contained in:
Weng Xuetian 2014-09-21 21:57:24 +00:00
parent 287e5ef6e3
commit 0274224901
2 changed files with 20 additions and 206 deletions

View File

@ -1,7 +1,7 @@
# maintainer (x86_64): Giuseppe calà <jiveaxe@gmail.com>
pkgname=check
pkgver=0.9.13
pkgver=0.9.14
pkgrel=1
pkgdesc="A unit testing framework for C"
arch=('x86_64')
@ -11,12 +11,12 @@ options=('!libtool')
categories=('programming')
install=$pkgname.install
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('95530868f81a9496b2518fd2b713008a')
md5sums=('38263d115d784c17aa3b959ce94be8b8')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
./configure --prefix=/usr --disable-static
make || return 1
}

View File

@ -1,206 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>check/check.install in chakra-packages/apps:master - Gitorious</title>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link href="/dist/bootstrap/css/bootstrap.min.css?1386082315" rel="stylesheet" type="text/css">
<link href="/dist/bootstrap/css/bootstrap-responsive.min.css?1386082315" rel="stylesheet" type="text/css">
<link href="/dist/css/gitorious3.min.css?1386082315" rel="stylesheet" type="text/css">
<link href="/ui3/js/lib/jquery-ui/themes/base/minified/jquery-ui.min.css" rel="stylesheet" type="text/css">
<link href="/assets/issues/application.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-52238-3']);
_gaq.push(['_setDomainName', '.gitorious.org'])
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
})();
</script>
</head>
<body>
<div class="page-wrapper">
<div class="page-content">
<div class="gts-masthead navbar">
<div class="navbar-inner">
<div class="container">
<a href="/" class="gts-logo"><img src="/dist/images/gitorious2013.png" alt="Gitorious" title="Gitorious"></a>
<ul class="nav">
<li>
<a href="/activities">Activities</a>
</li>
<li>
<a href="/projects">Projects</a>
</li>
<li>
<a href="/groups">Teams</a>
</li>
<li>
<a href="/about">About</a>
</li>
</ul>
<div class="pull-right">
<form action="/search" class="navbar-search pull-left" method="get">
<input type="search" placeholder="Search" class="search-query span2" name="q">
</form>
<div class="pull-right btn-group login_button">
<a href="/login" class="btn btn-inverse">
<i class="icon-user icon-white"></i> Sign in
</a>
</div>
</div>
</div>
</div>
</div>
<div class="gts-site-header" data-gts-env-repository-view-state-path="/users/view_state/repository/32855.json">
<div class="container">
<div class="row">
<h2 class="span">
<a href="/chakra-packages">chakra-packages</a> /
<a class="gts-repository-name-ph" href="/chakra-packages/apps">apps</a>
</h2>
_infodir=/usr/share/info
_filelist=(check.info)
</div>
<div class="row">
<div class="span">
<div class="btn-group gts-repo-urls">
<a class="btn gts-repo-url active" href="git@gitorious.org:chakra-packages/apps.git">SSH</a>
<a class="btn gts-repo-url" href="https://git.gitorious.org/chakra-packages/apps.git">HTTPS</a>
<a class="btn gts-repo-url" href="git://gitorious.org/chakra-packages/apps.git">Git</a>
<input class="span4 gts-current-repo-url gts-select-onfocus" type="url" value="git@gitorious.org:chakra-packages/apps.git">
<button data-toggle="collapse" data-target="#repo-url-help" class="gts-repo-url-help btn">?</button>
</div>
post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${_filelist[@]}; do
install-info $_infodir/$file $_infodir/dir 2> /dev/null
done
}
</div>
<div class="pull-right">
<a href="/chakra-packages/apps/archive/9b85698874d20f0eb9602a6395d63be6828c6018.tar.gz" class="btn gts-download" rel="tooltip" data-original-title="Download 9b85698 as .tar.gz">
<i class="icon icon-download"></i> Download
</a>
post_upgrade() {
post_install $1
}
<div class="gts-watch-repository-ph gts-placeholder"></div>
<div class="gts-clone-repository-ph gts-placeholder"></div>
</div>
</div>
<div class="collapse gts-help row" id="repo-url-help">
<div class="alert alert-info span pull-right">
<p>
To <strong>clone</strong> this repository:
</p>
<pre class="prettyprint">git clone git@gitorious.org:chakra-packages/apps.git</pre>
<p>
To <strong>push</strong> to this repository:
</p>
<pre class="prettyprint"># Add a new remote
git remote add origin git@gitorious.org:chakra-packages/apps.git
# Push the master branch to the newly added origin, and configure
# this remote and branch as the default:
git push -u origin master
# From now on you can push master to the "origin" remote with:
git push</pre>
</div>
</div>
<div class="row gts-description">
<div class="span gts-repository-description-ph">
<div class="gts-markup"><p>Apps repository for Chakra</p>
</div>
</div>
</div>
<ul class="nav nav-tabs gts-header-nav gts-pjax" data-gts-active="source">
<li class="active"><a href="/chakra-packages/apps/source/master:">Source code</a></li><li><a href="/chakra-packages/apps/activities">Activities</a></li><li><a href="/chakra-packages/apps/commits/9b85698874d20f0eb9602a6395d63be6828c6018">Commits</a></li><li><a href="/chakra-packages/apps/merge_requests">Merge requests <span class="count gts-mr-count-ph"></span></a></li><li><a href="/chakra-packages/apps/community">Community</a></li>
<li class="gts-repository-admin-ph gts-placeholder"></li>
<li class="gts-request-merge-ph gts-placeholder"></li>
</ul>
</div>
</div>
<div class="container gts-body" id="gts-pjax-container">
<div class="gts-file gts-browser">
<div class="gts-ref-selector-ph"></div>
<ul class="pull-right gts-blob-view">
<li class="active">Blob content</li>
<li><a href="/chakra-packages/apps/blame/9b85698874d20f0eb9602a6395d63be6828c6018:check/check.install">Blame</a></li>
<li><a href="/chakra-packages/apps/history/9b85698874d20f0eb9602a6395d63be6828c6018:check/check.install">History</a></li>
<li><a href="/chakra-packages/apps/raw/9b85698874d20f0eb9602a6395d63be6828c6018:check/check.install">Raw blob</a></li>
</ul>
<ul class="breadcrumb">
<li><a href="/chakra-packages/apps/source/9b85698874d20f0eb9602a6395d63be6828c6018:"><i class="icon icon-file"></i> /</a></li>
<li><a href="/chakra-packages/apps/source/9b85698874d20f0eb9602a6395d63be6828c6018:check">check<span class="divider">/</span></a></li><li class="active">check.install</li>
</ul>
<pre class=" prettyprint linenums"><ol class="linenums gts-lines"><li class="L1"><span class="line">infodir=/usr/share/info</span></li><li class="L2"><span class="line">filelist=(check.info)</span></li><li class="L3"><span class="line"> </span></li><li class="L4"><span class="line">post_install() {</span></li><li class="L5"><span class="line"> [ -x usr/bin/install-info ] || return 0</span></li><li class="L6"><span class="line"> for file in ${filelist[@]}; do</span></li><li class="L7"><span class="line"> install-info $infodir/$file $infodir/dir 2&gt; /dev/null</span></li><li class="L8"><span class="line"> done</span></li><li class="L9"><span class="line">}</span></li><li class="L10"><span class="line"> </span></li><li class="L11"><span class="line">post_upgrade() {</span></li><li class="L12"><span class="line"> post_install $1</span></li><li class="L13"><span class="line">}</span></li><li class="L14"><span class="line"> </span></li><li class="L15"><span class="line">pre_remove() {</span></li><li class="L16"><span class="line"> [ -x usr/bin/install-info ] || return 0</span></li><li class="L17"><span class="line"> for file in ${filelist[@]}; do</span></li><li class="L18"><span class="line"> install-info --delete $infodir/$file $infodir/dir 2&gt; /dev/null</span></li><li class="L19"><span class="line"> done</span></li><li class="L20"><span class="line">}</span></li></ol></pre>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="container">
<p class="pull-right gts-powered-by">
<a href="http://getgitorious.com">
<img alt="Powered by Gitorious" src="/assets/poweredby.png" title="Powered by Gitorious">
</a>
</p>
<div class="row-fluid">
<div class="span3">
<ul>
<li><a href="/about">About Gitorious</a></li>
<li><a href="http://groups.google.com/group/gitorious">Discussion group</a></li>
<li><a href="http://blog.gitorious.org">Blog</a></li>
</ul>
</div>
<div class="span3">
<ul>
<li><a href="http://en.gitorious.org/tos">Terms of Service</a></li>
<li><a href="http://en.gitorious.org/privacy_policy">Privacy Policy</a></li>
<li><a href="http://gitorious.com">Professional Gitorious Services</a></li>
</ul>
</div>
<div class="span3">
<ul>
<li><a href="http://en.gitorious.org/security">Security</a></li>
</ul>
</div>
</div>
<p>
Gitorious is free software licensed under
the <a href="http://www.gnu.org/licenses/agpl-3.0.html">GNU Affero
General Public License (AGPL)</a> unless noted otherwise.
</p>
<p class="gts-com-plug">
<a href="http://gitorious.com">Professional Gitorious services</a> - Git
hosting at your company, custom features, support and more.
<a href="http://gitorious.com">gitorious.com</a>.
</p>
</div>
</div>
<script data-gts-env-user-view-state-path="/users/view_state.json"></script>
<script
data-gts-env-repository-refs-url="/chakra-packages/apps/refs"
data-gts-env-commit-url-template="/chakra-packages/apps/commit/#{oid}">
</script>
<script src="/dist/js/gitorious3.min.js?1386082315"></script>
<script src="/ui3/js/lib/jquery-ui/ui/jquery.ui.menu.js"></script>
<script src="/ui3/js/lib/jquery-ui/ui/jquery.ui.autocomplete.js"></script>
<script src="/ui3/js/lib/jquery-ui/ui/jquery.ui.datepicker.js"></script>
<script src="/assets/issues/application.js"></script>
<script>
$(function() { $('.alert').append('<a class="close" data-dismiss="alert" href="#">&times;</a>').alert(); });
gts.enableJS(document.documentElement);
</script>
</body>
</html>
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
}