20 lines
530 B
Bash
20 lines
530 B
Bash
# Maintainer: Yosef Langer (vasilevich1234 dot gmail dot ...)
|
|
|
|
pkgname=nginxbeautifier
|
|
pkgver=1.0.10
|
|
pkgrel=1
|
|
pkgdesc='Nginx config formatter and beautifier.'
|
|
arch=('any')
|
|
url='https://nginxbeautifier.com'
|
|
license=('Apache-2.0')
|
|
provides=('nginxbeautifier')
|
|
depends=('nodejs')
|
|
source=($pkgname::"git://github.com/vasilevich/${pkgname}.git")
|
|
md5sums=('SKIP')
|
|
package() {
|
|
cd "$pkgname"
|
|
git checkout "e165def8f4b107bcd3f9f593f83bfa286070b42e"
|
|
install -D -m 755 nginxbeautifier.js "$pkgdir/usr/bin/nginxbeautifier"
|
|
|
|
}
|