blob: c016caf20385a547390ad83228a58b6acd58600e (
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
|
# Maintainer:
# Contributor: Vianney le Clément <vleclement AT gmail· com>
_pkgname=gedit-coffeescript
pkgname=$_pkgname-git
pkgver=1.0.4.r20.g57969df
pkgrel=1
pkgdesc="gedit Syntax Highlighting for CoffeeScript files"
arch=(any)
url="https://github.com/wavded/gedit-coffeescript"
license=('GPL-2.0-or-later')
depends=('gtksourceview3')
makedepends=('git')
source=("git+https://github.com/wavded/$_pkgname.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long | sed 's/-/.r/;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:
|