diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..f203b56 --- /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 0000000..5ecbbae --- /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 +} |