blob: 6056e0a75dfc5545787e5acfabd482ac86848373 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Benjamin A. Shelton <zancarius@gmail.com>
# Source: https://github.com/zancarius/archlinux-pkgbuilds
pkgname=python-httpagentparser
pkgver=1.7.7
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")
md5sums=(1977d91ece2617e92fd5f1a5336e8320)
package () {
cd "${srcdir}/httpagentparser-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1
}
|