summaryrefslogtreecommitdiff
path: root/pcr/unittestpp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/unittestpp/PKGBUILD')
-rw-r--r--pcr/unittestpp/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/pcr/unittestpp/PKGBUILD b/pcr/unittestpp/PKGBUILD
new file mode 100644
index 000000000..3918f98a2
--- /dev/null
+++ b/pcr/unittestpp/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Jorge Araya Navarro <elcorreo@deshackra.com>
+# Contributor: Piotr Beling <qwak@w8.pl>
+# Contributor: Vianney le Clément <vleclement AT gmail · com>
+pkgname=unittestpp
+pkgver=1.4
+pkgrel=3
+pkgdesc="A lightweight unit testing framework for C++"
+arch=('i686' 'x86_64')
+url="http://unittest-cpp.sourceforge.net/"
+depends=('gcc-libs')
+source=("http://downloads.sourceforge.net/project/unittest-cpp/UnitTest%2B%2B/$pkgver/unittest-cpp-${pkgver}.zip")
+sha1sums=('dad944159e2e135aea74039987490eaaee00f2ad')
+license=('MIT')
+
+build() {
+ cd "$srcdir/UnitTest++"
+ make all
+}
+
+package() {
+ cd "$srcdir/UnitTest++"
+
+ install -dm755 "$pkgdir/usr/include/unittest++/Posix"
+ install -m644 src/*.h "$pkgdir/usr/include/unittest++"
+ install -m644 src/Posix/*.h "$pkgdir/usr/include/unittest++/Posix"
+
+ install -dm755 "$pkgdir/usr/lib"
+ install -m644 libUnitTest++.a "$pkgdir/usr/lib"
+
+ install -dm755 "$pkgdir/usr/share/licenses/unittest++"
+ install -m644 COPYING "$pkgdir/usr/share/licenses/unittest++/LICENSE"
+ install -dm755 "$pkgdir/usr/share/doc/unittest++"
+ install -m644 README "$pkgdir/usr/share/doc/unittest++/README"
+ install -m644 docs/UnitTest++.html "$pkgdir/usr/share/doc/unittest++/UnitTest++.html"
+}
+
+# vim:set ts=2 sw=2 et: