summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
author71e6fd522018-01-06 10:23:49 +0800
committer71e6fd522018-01-06 10:23:49 +0800
commitba8b6e9d98b2ce6e0aa3f0e92fa682ee89ce7585 (patch)
tree64ce58c2b02a1b1b7f90b83c0a9235adbd1d3bc5 /PKGBUILD
downloadaur-python-accept.tar.gz
python-accept
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5a6cf29cf32
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: 71e6fd52 <DAStudio.71e6fd52@gmail.com>
+
+pkgbase=('python-accept')
+pkgname=('python-accept')
+_module='accept'
+pkgver='0.1.0'
+pkgrel=1
+pkgdesc="Parse and order a HTTP Accept header."
+url="http://github.com/rhyselsmore/accept"
+depends=('python')
+makedepends=('python-setuptools')
+license=('unknown')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/a/accept/accept-${pkgver}.tar.gz")
+md5sums=('924283e7d43b81006eeccfd69d2873f6')
+
+build() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ depends+=()
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}