Date: Tuesday, December 6, 2016 @ 12:50:34 Author: spupykin Revision: 198198
upgpkg: bcunit 3.0-1 upd Modified: bcunit/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-12-06 12:50:29 UTC (rev 198197) +++ PKGBUILD 2016-12-06 12:50:34 UTC (rev 198198) @@ -1,34 +1,31 @@ # Maintainer: Daniel Milde <daniel at milde dot cz> # Contributor: Danibspi danibspi <at> gmail <dot> com -pkgname=cunit -pkgver=2.1_3 +pkgname=bcunit +pkgver=3.0 +_commit=29c556fa8ac1ab21fba1291231ffa8dea43cf32a pkgrel=1 pkgdesc="Lightweight system for writing, administering, and running unit tests in C" arch=(i686 x86_64) -url="http://cunit.sourceforge.net/" +url="https://github.com/BelledonneCommunications/bcunit" license=('LGPL2') -depends=('glibc') +depends=() +provides=('cunit') +replaces=('cunit') options=('!libtool') -source=(https://downloads.sourceforge.net/project/cunit/CUnit/${pkgver/_/-}/CUnit-${pkgver/_/-}.tar.bz2) -sha256sums=('f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214') +#source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz") +source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/${_commit}.zip") +sha256sums=('e255f062249b75bfeb6a1c02943b602709f1f10738144075b036b3231aa4d590') build() { - cd "$srcdir/CUnit-${pkgver/_/-}" - libtoolize --force - aclocal - autoheader - automake --force-missing --add-missing - autoconf + cd "$srcdir/bcunit-${_commit}" + [ -x configure ] || ./autogen.sh ./configure --prefix=/usr make || return 1 } package() { - cd "$srcdir/CUnit-${pkgver/_/-}" + cd "$srcdir/bcunit-${_commit}" make DESTDIR="$pkgdir" install mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/doc } - - -
