aboutsummaryrefslogtreecommitdiffstats
path: root/community/httpie/APKBUILD
blob: 6064326f98b9675f9b67c2a3bca2df3d28a29243 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=httpie
pkgver=0.9.9
pkgrel=0
pkgdesc="A CLI, cURL-like tool"
url="https://github.com/jkbr/httpie"
arch="noarch"
license="BSD"
depends="python3 py3-requests py3-pygments"
makedepends="python3-dev"
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build || return 1
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

sha512sums="e9adb1ecf9a25b57c634f35199bf1f8fbe4136179c0ba0d6032a41ae786da9344f54436f91d89e624c154bdca325f94c637364a934fc2d5742b83056434f7e4c  httpie-0.9.9.tar.gz"