[arch-commits] Commit in check/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Oct 22 14:30:01 UTC 2019
Date: Tuesday, October 22, 2019 @ 14:30:00
Author: heftig
Revision: 365319
archrelease: copy trunk to extra-x86_64
Added:
check/repos/extra-x86_64/PKGBUILD
(from rev 365318, check/trunk/PKGBUILD)
Deleted:
check/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 109 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 59 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-22 14:29:50 UTC (rev 365318)
+++ PKGBUILD 2019-10-22 14:30:00 UTC (rev 365319)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Jeremy Cowgar <jeremy at cowgar.com>
-
-pkgname=check
-pkgver=0.12.0
-pkgrel=1
-pkgdesc="A unit testing framework for C"
-url="https://libcheck.github.io/check/"
-arch=(i686 x86_64)
-license=(LGPL)
-depends=(awk)
-makedepends=(git)
-_commit=673dce1d61781c32b449bef0ee8711dc7e689170 # tags/0.12.0
-source=("git+https://github.com/libcheck/check#commit=$_commit")
-md5sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd $pkgname
- autoreconf -fvi
-}
-
-build() {
- cd $pkgname
- ./configure --prefix=/usr --disable-static
- make
-}
-
-check() {
- cd $pkgname
- # Extremely long
- #make -k check
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-
- # get rid of the package's info directory
- rm "$pkgdir/usr/share/info/dir"
-
- # svn log file is too big
- rm "$pkgdir"/usr/share/doc/check/*ChangeLog*
-}
Copied: check/repos/extra-x86_64/PKGBUILD (from rev 365318, check/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-22 14:30:00 UTC (rev 365319)
@@ -0,0 +1,59 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Jeremy Cowgar <jeremy at cowgar.com>
+
+pkgbase=check
+pkgname=(check check-docs)
+pkgver=0.13.0
+pkgrel=1
+pkgdesc="A unit testing framework for C"
+url="https://libcheck.github.io/check/"
+arch=(x86_64)
+license=(LGPL)
+depends=(awk)
+makedepends=(git texlive-bin texi2html doxygen)
+_commit=90d03f3fe002c33224432753ebfa21ebb5c32238 # tags/0.13.0
+source=("git+https://github.com/libcheck/check#commit=$_commit")
+md5sums=('SKIP')
+
+pkgver() {
+ cd check
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd check
+ autoreconf -fvi
+}
+
+build() {
+ cd check
+ ./configure --prefix=/usr --disable-static
+ make all doc/doxygen doc/check_html
+}
+
+check() {
+ cd check
+ # Extremely long
+ #make -k check
+}
+
+package_check() {
+ optdepends+=('check-docs: Documentation')
+
+ cd check
+ make DESTDIR="$pkgdir" install
+
+ mv "$pkgdir/usr/share/doc" "$srcdir"
+}
+
+package_check-docs() {
+ pkgdesc+=" (documentation)"
+ depends=()
+
+ cp -a check/doc/doxygen/html doc/check/doxygen
+ cp -a check/doc/check_html doc/check/manual
+
+ mkdir -p "$pkgdir/usr/share"
+ mv doc "$pkgdir/usr/share"
+}
More information about the arch-commits
mailing list