summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre2018-07-25 03:38:22 +0200
committerTharre2018-07-25 03:38:22 +0200
commit2f28be5e14ecc1cea3e8167e66b1f91055095831 (patch)
treee6a89f84d8ce5b42803588149f4ca4668129b723
downloadaur-2f28be5e14ecc1cea3e8167e66b1f91055095831.tar.gz
Initial commit
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD22
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..f203b56990bf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = grokmirror
+ pkgdesc = Framework to smartly mirror git repositories
+ pkgver = 1.1.0
+ pkgrel = 1
+ 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
+
+pkgname = grokmirror
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..5ecbbae5f120
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Tharre <tharre3@gmail.com>
+
+pkgname=grokmirror
+pkgver=1.1.0
+pkgrel=1
+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')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+}