blob: 38fdcadec494730b859783ec4ea32fc32ed63b35 (
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
29
|
# Maintainer: Moon Sungjoon <sumoon at seoulsaram dot com>
pkgname=norminette-git
_pkgname=norminette
pkgver=r546.d443df7
pkgrel=1
pkgdesc="Open source norminette"
arch=('any')
url='https://github.com/42School/norminette'
license=('MIT')
conflicts=('norminette')
makedepends=('git' 'python-setuptools')
source=("${_pkgname}"::'git+https://github.com/42School/norminette.git')
md5sums=('SKIP')
pkgver() {
cd ${_pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|