summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 40fa2fc2dd0..37c1bbf2450 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,9 +5,9 @@ pkgbase = css-beautify
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
+ depends = python-jsbeautifier
+ source = css-beautify::https://github.com/Jorengarenar/css-beautify/archive/1.10.1.tar.gz
sha512sums = SKIP
pkgname = css-beautify
+
diff --git a/PKGBUILD b/PKGBUILD
index ce048f9e143..e2f8b9470dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,15 +8,15 @@ 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")
+source=("${pkgname}::https://github.com/Jorengarenar/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=(SKIP)
package() {
- cd "$srcdir/$pkgname/src"
+ cd "$srcdir/$pkgname-${pkgver}/src"
mkdir -p "${pkgdir}/usr/share/${pkgname}"
cp -r cssbeautifier "${pkgdir}/usr/share/${pkgname}"
install -Dm755 $pkgname "${pkgdir}/usr/share/${pkgname}"
mkdir -p "${pkgdir}/usr/bin"
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$pkgname-${pkgver}"
install -Dm755 $pkgname "${pkgdir}/usr/bin"
}