summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b757ea1e45f1dd4a5ef620f60cb6f0883b8dfed6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Christopher Loen  <christopherloen at gmail dot com>
# Contributor: Scott Lawrence <bytbox@gmail.com>
pkgname='python-libsass'
pkgver='0.11.1'
pkgrel=1
pkgdesc="Python binding for libsass CSS compiler"
arch=('any')
url='http://dahlia.kr/libsass-python/'
depends=('python')
makedepends=('libsass' 'python2-pip' 'python-pip')
source=('https://github.com/dahlia/libsass-python/releases/download/0.11.1/libsass-0.11.1.tar.gz')
license=('MIT')
sha256sums=('f060d7dab825942ca7f86d0c4adadf7d731a2e30f9bce6e4f010ad7d32adbf06')

package() {
	echo Installation may be a bit slow, please wait
    cd ${srcdir}/libsass-${pkgver}
	echo :: Installing for python3.5 ...
    pip3 install --prefix=/usr --isolated --root="${pkgdir}" --no-deps --ignore-installed .
    echo :: Installing for python2.7 ...
    pip2 install --prefix=/usr --isolated --root="${pkgdir}" --no-deps --ignore-installed .

}