summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames An2018-03-16 11:53:51 -0400
committerJames An2018-03-16 11:53:51 -0400
commit451792d7af14d5e0122189d72a0a1796dec29e23 (patch)
treed72fd34e68607a83be42f42710d495e46ba0c1fb
parentd4486f0d462ab716d62b105a4516fe80bce860ad (diff)
downloadaur-451792d7af14d5e0122189d72a0a1796dec29e23.tar.gz
Fixed minor errors in PKGBUILD.
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0e5dc874cdfc..56c6d58c59ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
pkgbase = python2-ntplib
pkgdesc = Python NTP library
pkgver = 0.3.3
- pkgrel = 1
- url = http://code.google.com/p/$_pkgname
+ pkgrel = 2
+ url = http://code.google.com/p/ntplib
arch = any
license = MIT
- makedepends = python2
makedepends = python2-setuptools
depends = python2
source = https://files.pythonhosted.org/packages/source/n/ntplib/ntplib-0.3.3.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 6d1f3a47dee1..e641f13e05d2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,15 @@
pkgname=python2-ntplib
_pkgname=${pkgname#python2-}
pkgver=0.3.3
-pkgrel=1
+pkgrel=2
pkgdesc="Python NTP library"
arch=('any')
-url='http://code.google.com/p/$_pkgname'
+url="http://code.google.com/p/$_pkgname"
license=('MIT')
depends=('python2')
-makedepends=('python2' 'python2-setuptools')
+makedepends=('python2-setuptools')
-source=("https://files.pythonhosted.org/packages/source/n/ntplib/ntplib-0.3.3.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
md5sums=('c7cc8e9b09f40c84819859d70b7784ca')
prepare() {