diff options
-rw-r--r-- | grokmirror/.SRCINFO | 17 | ||||
-rw-r--r-- | grokmirror/PKGBUILD | 27 |
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 +} |