diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..be9ec5d16b75 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = css-beautify + pkgdesc = Beautifier for CSS + pkgver = 1.10.1 + pkgrel = 1 + url = https://github.com/beautify-web/js-beautify/#css--html + arch = any + license = MIT + provides = css-beautify + depends = python-jsbeautifier + source = css-beautify::git+https://github.com/Jorengarenar/css-beautify.git + sha512sums = SKIP + +pkgname = css-beautify diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7c6acfdf537e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Jorengarenar + +pkgname=css-beautify +pkgver=1.10.1 +pkgrel=1 +pkgdesc='Beautifier for CSS' +arch=('any') +depends=('python-jsbeautifier') +url='https://github.com/beautify-web/js-beautify/#css--html' +license=('MIT') +source=("${pkgname}::git+https://github.com/Jorengarenar/css-beautify.git") +sha512sums=(SKIP) + +package() { + cd "$srcdir/$pkgname/src" + mkdir -p "${pkgdir}/usr/share" + cp -r cssbeautifier "${pkgdir}/usr/share" + install -Dm755 $pkgname "${pkgdir}/usr/share" + mkdir -p "${pkgdir}/usr/bin" + ln -sf "${pkgdir}/usr/share/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" +} |