blob: 69ed4e5da9a1ff41663114f397b00148eb99eaf1 (
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
|
# Maintainer: Florian Glorioz <florian.glorioz@epitech.eu>
pkgname=normez
pkgver=r161.574a98a
pkgrel=2
pkgdesc="Coding-style checker for Epitech students."
arch=('any')
url="https://github.com/ronanboiteau/NormEZ"
license=('MIT')
groups=()
depends=('ruby' 'git')
source=('https://github.com/ronanboiteau/NormEZ/archive/master.zip')
noextract=()
md5sums=('SKIP')
pkgver() {
git clone https://github.com/ronanboiteau/NormEZ.git "$pkgname"
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m755 NormEZ.rb "${pkgdir}/usr/bin/${pkgname}"
}
|