aboutsummaryrefslogtreecommitdiffstats
path: root/grokmirror/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'grokmirror/PKGBUILD')
-rw-r--r--grokmirror/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/grokmirror/PKGBUILD b/grokmirror/PKGBUILD
new file mode 100644
index 0000000..b547964
--- /dev/null
+++ b/grokmirror/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Tharre <tharre3@gmail.com>
+
+pkgname=grokmirror
+pkgver=2.0.11
+pkgrel=1
+pkgdesc='Framework to smartly mirror git repositories'
+url='https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git'
+arch=('any')
+license=('GPL3')
+depends=('python-requests' 'python-packaging')
+makedepends=('python-setuptools')
+source=(https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-${pkgver}.tar.{gz,asc})
+validpgpkeys=('DE0E66E32F1FDD0902666B96E63EDCA9329DD07E') # Konstantin Ryabitsev
+sha256sums=('SKIP'
+ 'SKIP')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+
+ install -Dm644 -t "${pkgdir}/usr/share/man/man1/" "man/"*.1
+}