summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d19a5069d7b3def32a5cfe53dce18028ed57ab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Benjamin Chrétien <chretien+aur at lirmm dot fr>
# Contributor: Kuan-Yen Chou <kuanyenchou at gmail dot com>

pkgname=cpp-coveralls
pkgver=0.4.2
pkgrel=1
pkgdesc='Upload gcov results to coveralls.io'
arch=('x86_64')
url='https://github.com/eddyxu/cpp-coveralls'
license=('Apache')
depends=('python' 'python-requests' 'python-future' 'python-certifi'
         'python-cryptography' 'python-pyopenssl' 'python-ipaddress')
makedepends=('python-setuptools')
source=("https://github.com/eddyxu/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('a5b7a5a92531a6b5d8e19724fad4259fb233f341e5b76df2723a040894a0d24a')

build() {
        cd "${srcdir}/${pkgname}-${pkgver}"
        python setup.py build
}

package() {
        cd "${srcdir}/${pkgname}-${pkgver}"
        python setup.py install \
                -O2 --skip-build --root "${pkgdir}" --prefix=/usr
        install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}