summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e2f8b9470dc2564e3f44ce97b8fe85ce23f8b808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Jorengarenar

pkgname=css-beautify
pkgver=1.10.1
pkgrel=2
pkgdesc='Beautifier for CSS'
arch=('any')
depends=('python-jsbeautifier')
url='https://github.com/beautify-web/js-beautify/#css--html'
license=('MIT')
source=("${pkgname}::https://github.com/Jorengarenar/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=(SKIP)

package() {
    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-${pkgver}"
    install -Dm755 $pkgname "${pkgdir}/usr/bin"
}