summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bcaf544032dae83bc88b073b937a7f2d4caab32e (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
# Maintainer: Vianney le Clément <vleclement AT gmail· com>
_pkgname=gedit-coffeescript
pkgname=$_pkgname-git
pkgver=1.0.4
pkgrel=1
pkgdesc="gedit Syntax Highlighting for CoffeeScript files"
arch=(any)
url="https://github.com/wavded/gedit-coffeescript"
license=('GPL')
depends=('gtksourceview3')
makedepends=('git')
source=("git://github.com/wavded/$_pkgname.git")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe | sed 's/-/./g'
}

package() {
  cd "$srcdir/$_pkgname"
  install -Dm644 coffee_script.lang "$pkgdir/usr/share/gtksourceview-3.0/language-specs/coffee_script.lang"
  install -Dm644 rubycius-mod.xml "$pkgdir/usr/share/gtksourceview-3.0/styles/rubycius-mod.xml"
}

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