summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5f3487e9f74a37db95a7ea623bf91a25c42f877 (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
_orgname=mkllnk
_reponame=gedit-rails-extensions
pkgbase=gtksourceview-highlight-haml
pkgname=('gtksourceview2-highlight-haml' 'gtksourceview3-highlight-haml')
pkgver=LATEST
pkgrel=1
pkgdesc='HAML syntax highlighting for gtksourceview'
arch=('any')
license=('GPL')
url="https://github.com/$_orgname/$_reponame"
source="git+https://github.com/$_orgname/$_reponame.git"
sha512sums=SKIP

package_gtksourceview2-highlight-haml() {
	depends=('gtksourceview2' 'mime-haml')

	install -m644 -D "$srcdir/$_reponame/language-specs/haml.lang" "$pkgdir/usr/share/gtksourceview-2.0/language-specs/haml.lang"
}

package_gtksourceview3-highlight-haml() {
	depends=('gtksourceview3' 'mime-haml')

	install -m644 -D "$srcdir/$_reponame/language-specs/haml.lang" "$pkgdir/usr/share/gtksourceview-3.0/language-specs/haml.lang"
}