summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorwillemw122015-06-09 10:27:49 +0200
committerwillemw122015-06-09 10:27:49 +0200
commita4c4957513d8f4cc577dac16265924fa4440f3e8 (patch)
tree79afdbd0d1d029de7346b026b555575f208db7c4 /PKGBUILD
downloadaur-a4c4957513d8f4cc577dac16265924fa4440f3e8.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6e9e9002d41
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: willemw <willemw12@gmail.com>
+
+_pkgname=pywapi
+pkgname=python-pywapi
+pkgver=0.3.8
+pkgrel=2
+pkgdesc="Python wrapper around the Yahoo! Weather, Weather.com and NOAA APIs"
+arch=('any')
+#url="https://launchpad.net/python-weather-api"
+url="http://code.google.com/p/python-weather-api"
+license=('MIT')
+depends=('python')
+source=(https://launchpad.net/python-weather-api/trunk/$pkgver/+download/$_pkgname-$pkgver.tar.gz)
+md5sums=('75bf8257f32f2d36169d57d92566cdb1')
+
+package() {
+ cd $_pkgname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+