summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: caeb96ee72d5f3edc27929cbd9872a6c07de272f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Benjamin A. Shelton <zancarius@gmail.com>
# Source: https://github.com/zancarius/archlinux-pkgbuilds

pkgname=python-httpagentparser
pkgver=1.9.1
pkgrel=1
pkgdesc='Extracts OS browser information from the user agent string.'
arch=('any')
url='http://pypi.python.org/pypi/httpagentparser'
license=('MIT')
depends=('python')
makedepends=('python-setuptools')

source=("https://pypi.python.org/packages/source/h/httpagentparser/httpagentparser-${pkgver}.tar.gz")
sha256sums=(
    'ef763d31993dd761825acee6c8b34be32b95cf1675d1c73c3cd35f9e52831b26'
)
package () {
    cd "${srcdir}/httpagentparser-${pkgver}"
    python setup.py install --root="${pkgdir}/" --optimize=1
}