aboutsummaryrefslogtreecommitdiffstats
path: root/grokmirror
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2023-04-25 07:16:29 +0200
committerTharre <tharre3@gmail.com>2023-04-25 07:16:29 +0200
commit1a3e9b61e5bbf1f7cfcff24389c656e776fc9b51 (patch)
treecbd834ef1b0fd8158b7d648b2734dd4210f45e16 /grokmirror
parent1cc315c124e8957d1ba77ed36274c5eb037654da (diff)
parent24828a61b1538e0eaa574e655d6132e7859aa1e5 (diff)
downloadpkgbuilds-1a3e9b61e5bbf1f7cfcff24389c656e776fc9b51.tar.gz
pkgbuilds-1a3e9b61e5bbf1f7cfcff24389c656e776fc9b51.tar.xz
pkgbuilds-1a3e9b61e5bbf1f7cfcff24389c656e776fc9b51.zip
Add 'grokmirror/' from commit '24828a61b1538e0eaa574e655d6132e7859aa1e5'
git-subtree-dir: grokmirror git-subtree-mainline: 1cc315c124e8957d1ba77ed36274c5eb037654da git-subtree-split: 24828a61b1538e0eaa574e655d6132e7859aa1e5
Diffstat (limited to 'grokmirror')
-rw-r--r--grokmirror/.SRCINFO17
-rw-r--r--grokmirror/PKGBUILD27
2 files changed, 44 insertions, 0 deletions
diff --git a/grokmirror/.SRCINFO b/grokmirror/.SRCINFO
new file mode 100644
index 0000000..07aa9e8
--- /dev/null
+++ b/grokmirror/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = grokmirror
+ pkgdesc = Framework to smartly mirror git repositories
+ pkgver = 2.0.11
+ pkgrel = 1
+ url = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git
+ arch = any
+ license = GPL3
+ makedepends = python-setuptools
+ depends = python-requests
+ depends = python-packaging
+ source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-2.0.11.tar.gz
+ source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-2.0.11.tar.asc
+ validpgpkeys = DE0E66E32F1FDD0902666B96E63EDCA9329DD07E
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = grokmirror
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
+}