summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 250ea867862f06d12d188ae1a016478c748ea38f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Tharre <tharre3@gmail.com>

pkgname=grokmirror
pkgver=1.1.0
pkgrel=2
pkgdesc='Framework to smartly mirror git repositories'
url='https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git'
arch=('any')
license=('GPL3')
depends=('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
}