summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorengarenar2019-07-20 15:45:15 +0200
committerJorengarenar2019-07-20 15:45:15 +0200
commitf80cefc0cd3b5422955bf8adfcf74724b1eca72b (patch)
tree667c6a0ce3cd113d57a99964a309532279d70fc7
downloadaur-f80cefc0cd3b5422955bf8adfcf74724b1eca72b.tar.gz
First
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD21
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..be9ec5d16b7
--- /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 00000000000..7c6acfdf537
--- /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}"
+}