blob: db5b102a7640117bf05b704a0dcadbd2e82cc515 (
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
27
28
|
# Maintainer: Tiago Danin <TiagoDanin@outlook.com>
_pkgname=ghoffline
pkgname=${_pkgname}-git
pkgver=9.c73bdc9
pkgrel=1
pkgdesc='Check offline site in a repository of Github'
arch=('any')
url='https://tiagodanin.github.io/ghoffline/'
license=('GPL3')
depends=('python')
makedepends=('git')
source=('git://github.com/tiagodanin/ghoffline.git')
md5sums=('SKIP')
pkgver() {
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cd ${_pkgname}
python setup.py build
}
package() {
cd ${_pkgname}
python setup.py install --root=${pkgdir} --optimize=1
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${_pkgname}
}
|