summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwicast2016-08-07 12:08:10 +0800
committerwicast2016-08-07 12:08:10 +0800
commit078d7ab6fd69daf9b07baef29fc89c81d4e01e4d (patch)
tree07a535b107d6e5797de74b2c28200d704031d985
parent001a73213ea1088921ac4237ab379da736e4f69f (diff)
downloadaur-078d7ab6fd69daf9b07baef29fc89c81d4e01e4d.tar.gz
switch to gitlab repo
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index abdde2fe867..ff6b1f73a9f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python2-doxytag2zealdb
pkgdesc = create sqlite db for docset from a Doxygen tag file
pkgver = 0.1.2
- pkgrel = 1
+ pkgrel = 2
url = http://pypi.python.org/pypi/doxytag2zealdb
arch = any
license = GPLv3
@@ -10,8 +10,8 @@ pkgbase = python2-doxytag2zealdb
depends = python2
depends = python2-docopt
depends = python2-beautifulsoup4
- source = doxytag2zealdb.tar.bz2::https://gitlab.com/vedvyas/doxytag2zealdb/repository/archive.tar.bz2?ref=v0.1.2
- md5sums = a0945a68c248737005f2358a69de9bfc
+ source = git+https://gitlab.com/vedvyas/doxytag2zealdb.git#tag=v0.1.2
+ md5sums = SKIP
pkgname = python2-doxytag2zealdb
diff --git a/PKGBUILD b/PKGBUILD
index b1f3fb92d3f..403902b18cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,21 +3,20 @@
_pypiname=doxytag2zealdb
pkgname=("python2-$_pypiname")
pkgver=0.1.2
-pkgrel=1
+pkgrel=2
pkgdesc="create sqlite db for docset from a Doxygen tag file"
arch=(any)
url="http://pypi.python.org/pypi/$_pypiname"
license=('GPLv3')
depends=('python2' 'python2-docopt' 'python2-beautifulsoup4')
makedepends=('python-setuptools' 'python2-setuptools')
-source=("doxytag2zealdb.tar.bz2::https://gitlab.com/vedvyas/doxytag2zealdb/repository/archive.tar.bz2?ref=v${pkgver}")
-md5sums=('a0945a68c248737005f2358a69de9bfc')
-
+source=("git+https://gitlab.com/vedvyas/doxytag2zealdb.git#tag=v${pkgver}")
+md5sums=(SKIP)
package() {
- cd "$_pypiname-v${pkgver}-d4cef285e34f65de40d4c0bbef0fc5ac39d53c94"
+ cd "$_pypiname"
python2 setup.py install --root="${pkgdir}/" --optimize=1
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"