diff options
author | KenjiTakahashi | 2015-06-09 22:22:22 +0200 |
---|---|---|
committer | KenjiTakahashi | 2015-06-09 22:22:22 +0200 |
commit | a6a786adff47486597ece032aabef6346be57176 (patch) | |
tree | 83b48c7d83391de7ad0d8a1fa50ea433b2652d3b | |
download | aur-a6a786adff47486597ece032aabef6346be57176.tar.gz |
3.7.2-1: Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5559039fdac8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = cpputest + pkgdesc = unit testing and mocking framework for C/C++ + pkgver = 3.7.2 + pkgrel = 1 + url = http://cpputest.org + arch = i686 + arch = x86_64 + license = BSD + provides = cpputest + options = staticlibs + options = !strip + source = https://github.com/cpputest/cpputest/releases/download/3.7.2/cpputest-3.7.2.tar.gz + md5sums = f4f7d62cb78e360ee3c979ee834f88b4 + +pkgname = cpputest + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5f44b6fbda0e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Karol "Kenji Takahashi" Woźniak <kenji.sx> + +pkgname=cpputest +pkgver=3.7.2 +pkgrel=1 +pkgdesc="unit testing and mocking framework for C/C++" +url="http://cpputest.org" +arch=('i686' 'x86_64') +license=('BSD') +provides=('cpputest') +options=('staticlibs' '!strip') +source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz") +md5sums=('f4f7d62cb78e360ee3c979ee834f88b4') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install + + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +} |