[arch-commits] Commit in bcunit/repos (4 files)
Sergej Pupykin
spupykin at archlinux.org
Tue Dec 6 12:50:49 UTC 2016
Date: Tuesday, December 6, 2016 @ 12:50:48
Author: spupykin
Revision: 198199
archrelease: copy trunk to community-i686, community-x86_64
Added:
bcunit/repos/community-i686/
bcunit/repos/community-i686/PKGBUILD
(from rev 198198, bcunit/trunk/PKGBUILD)
bcunit/repos/community-x86_64/
bcunit/repos/community-x86_64/PKGBUILD
(from rev 198198, bcunit/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
Copied: bcunit/repos/community-i686/PKGBUILD (from rev 198198, bcunit/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-12-06 12:50:48 UTC (rev 198199)
@@ -0,0 +1,31 @@
+# Maintainer: Daniel Milde <daniel at milde dot cz>
+# Contributor: Danibspi danibspi <at> gmail <dot> com
+
+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="https://github.com/BelledonneCommunications/bcunit"
+license=('LGPL2')
+depends=()
+provides=('cunit')
+replaces=('cunit')
+options=('!libtool')
+#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/bcunit-${_commit}"
+ [ -x configure ] || ./autogen.sh
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd "$srcdir/bcunit-${_commit}"
+ make DESTDIR="$pkgdir" install
+ mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/doc
+}
Copied: bcunit/repos/community-x86_64/PKGBUILD (from rev 198198, bcunit/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-12-06 12:50:48 UTC (rev 198199)
@@ -0,0 +1,31 @@
+# Maintainer: Daniel Milde <daniel at milde dot cz>
+# Contributor: Danibspi danibspi <at> gmail <dot> com
+
+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="https://github.com/BelledonneCommunications/bcunit"
+license=('LGPL2')
+depends=()
+provides=('cunit')
+replaces=('cunit')
+options=('!libtool')
+#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/bcunit-${_commit}"
+ [ -x configure ] || ./autogen.sh
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd "$srcdir/bcunit-${_commit}"
+ make DESTDIR="$pkgdir" install
+ mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/doc
+}
More information about the arch-commits
mailing list