Created
March 10, 2019 18:38
-
-
Save alter2000/ad88eb1f30b6fb2d3beaa5845e85474d to your computer and use it in GitHub Desktop.
NormEZ PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkgname=normez | |
| pkgver=r161.574a98a | |
| pkgrel=3 | |
| pkgdesc="Coding-style checker for Epitech students." | |
| arch=('any') | |
| url="https://github.com/ronanboiteau/NormEZ" | |
| license=('MIT') | |
| groups=() | |
| depends=('ruby' 'git') | |
| source=("$pkgname::git+https://github.com/ronanboiteau/NormEZ") | |
| noextract=() | |
| md5sums=('SKIP') | |
| pkgver() { | |
| cd "$srcdir/$pkgname" | |
| printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | |
| } | |
| package() { | |
| cd "$srcdir/$pkgname" | |
| install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | |
| install -D -m755 NormEZ.rb "${pkgdir}/usr/bin/${pkgname}" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment