summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 72980c5159a5faf5a22dcb96ec758c4482124c3a (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
# Maintainer: Daichi Shinozaki <dsdseg@gmail.com>

pkgname=hss-git
pkgver=r46.5af3d56
pkgrel=1
pkgdesc="A tool that extends the CSS syntax with powerful features such as variables and nested blocks"
arch=(i686 x86_64)
url="http://ncannasse.fr/projects/hss"
license=('GPL')
depends=('neko>=1.8.2')
makedepends=(git 'neko>=1.8.2')
options=(!strip)
source=('hss::git+https://github.com/ncannasse/hss.git')
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/${pkgname/-git/}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" 
}

build() {
  cd "$srcdir/${pkgname/-git/}"
  make
}

package() {
  install -D -T "$srcdir/${pkgname/-git/}"/bin/hss "$pkgdir"/usr/bin/hss
}

# vim:set ts=2 sw=2 et: