From 5b3f38cd21946a16d9493ff3a0968d04cfe7ac53 Mon Sep 17 00:00:00 2001 From: Yosef Date: Fri, 26 Aug 2016 02:08:04 +0000 Subject: [PATCH] First commit --- .SRCINFO | 14 ++++++++++++++ PKGBUILD | 18 ++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..7750d69 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = nginxbeautifier + pkgdesc = Nginx config formatter and beautifier. + pkgver = latest + pkgrel = 1 + url = http://nginxbeautifier.com + arch = any + license = Apache-2.0 + depends = nodejs + provides = nginxbeautifier + source = nginxbeautifier::git://github.com/vasilevich/nginxbeautifier.git + md5sums = SKIP + +pkgname = nginxbeautifier + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..1ad2fb1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Yosef Langer (vasilevich1234 dot gmail dot ...) + +pkgname=nginxbeautifier +pkgver=latest +pkgrel=1 +pkgdesc='Nginx config formatter and beautifier.' +arch=('any') +url='http://nginxbeautifier.com' +license=('Apache-2.0') +provides=('nginxbeautifier') +depends=('nodejs') +source=($pkgname::"git://github.com/vasilevich/${pkgname}.git") +md5sums=('SKIP') +package() { + cd "$pkgname" + install -D -m 755 nginxbeautifier.js "$pkgdir/usr/bin/nginxbeautifier" + +}