summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre2018-07-25 18:47:41 +0200
committerTharre2018-07-25 18:47:41 +0200
commit0a9e5b6ff85aace82ce145b67badfedec06b49f1 (patch)
tree1ea7f0fa0d343e05adb6275938493bdb44ad36c0
parent2f28be5e14ecc1cea3e8167e66b1f91055095831 (diff)
downloadaur-0a9e5b6ff85aace82ce145b67badfedec06b49f1.tar.gz
Add man pages
Since the package in PyPI doesn't include them, we also download the tarball from github releases directly.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f203b56990bf..26863207e9d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = grokmirror
pkgdesc = Framework to smartly mirror git repositories
pkgver = 1.1.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mricon/grokmirror
arch = any
license = GPL3
depends = python-setuptools
- source = https://files.pythonhosted.org/packages/source/g/grokmirror/grokmirror-1.1.0.tar.gz
- sha256sums = e687f5242e15402352d425b350f69508f577aa4466c0c236b0fa1c8bda8c27fe
+ source = grokmirror-1.1.0::https://github.com/mricon/grokmirror/archive/v1.1.0.tar.gz
+ sha256sums = c838df4e9f055b269dd9664c554586d05cc91db337f559b3c2318aba24c89354
pkgname = grokmirror
diff --git a/PKGBUILD b/PKGBUILD
index 5ecbbae5f120..a09ec0bd5dc2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
pkgname=grokmirror
pkgver=1.1.0
-pkgrel=1
+pkgrel=2
pkgdesc='Framework to smartly mirror git repositories'
url='https://github.com/mricon/grokmirror'
arch=('any')
license=('GPL3')
depends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('e687f5242e15402352d425b350f69508f577aa4466c0c236b0fa1c8bda8c27fe')
+source=("${pkgname}-${pkgver}::https://github.com/mricon/grokmirror/archive/v${pkgver}.tar.gz")
+sha256sums=('c838df4e9f055b269dd9664c554586d05cc91db337f559b3c2318aba24c89354')
build() {
cd "${pkgname}-${pkgver}"
@@ -18,5 +18,7 @@ build() {
package() {
cd "${pkgname}-${pkgver}"
- python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+
+ install -Dm644 -t "${pkgdir}/usr/share/man/man1/" "man/"*.1
}