blob: 7ce42c6a3b700158d408f91a168034ae56625162 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Maintainer: Tomislav Ivek <tomislav.ivek@gmail.com>
pkgname=('conan-git')
pkgver=r5594.0851d53c5
pkgrel=1
pkgdesc="A distributed, open source, C/C++ package manager."
arch=('any')
url="https://conan.io"
license=('MIT')
makedepends=('python-setuptools' 'patch' 'git')
depends=('python-pyjwt>=1.4.0'
'python-requests>=2.25'
'python-urllib3>=1.26.6'
'python-colorama>=0.3.3'
'python-yaml>=3.11'
'python-patch-ng>=1.17.4'
'python-fasteners>=0.14.1'
'python-six>=1.10.0'
'python-node-semver>=0.6.1'
'python-distro>=1.0.2'
'python-pygments>=2.0'
'python-tqdm>=4.28.1'
'python-jinja>=3.0'
'python-dateutil>=2.7.0'
'python-bottle>=0.12.8'
'python-pluginbase>=0.5')
provides=('conan')
conflicts=('conan')
source=("conan-git::git+https://github.com/conan-io/conan.git" "arch-reqs.patch")
pkgver() {
cd "$pkgname"
( set -o pipefail
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
prepare() {
cd "$pkgname"
patch -Np1 -i "${srcdir}/arch-reqs.patch"
}
build() {
cd "$srcdir/$pkgname"
python setup.py build
}
package() {
cd "$srcdir/$pkgname"
python setup.py install --optimize=1 --root=${pkgdir}
install -m755 -d "${pkgdir}/usr/share/licenses/conan"
install -m644 LICENSE.md "${pkgdir}/usr/share/licenses/conan/"
install -m755 -d "${pkgdir}/usr/share/doc/conan"
install -m644 contributors.txt "${pkgdir}/usr/share/doc/conan/"
}
md5sums=('SKIP'
'f220688daf73d0a5f536ba7bf448c763')
|