blob: c4e159ab917ec309786c577bca84a2e8479e0955 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=sassc-git
pkgver=3.6.2.r0.g66f0ef3
pkgrel=1
pkgdesc="Libsass command line driver"
arch=('i686' 'x86_64')
url="https://github.com/sass/sassc"
license=('MIT')
depends=('glibc' 'libsass')
makedepends=('git')
provides=("sassc=$pkgver")
conflicts=('sassc')
source=("git+https://github.com/sass/sassc.git")
sha256sums=('SKIP')
pkgver() {
cd "sassc"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "sassc"
autoreconf -fi
./configure \
--prefix="/usr"
make
}
package() {
cd "sassc"
make DESTDIR="$pkgdir" install
install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/sassc"
}
|