diff options
author | Artem Vorotnikov | 2015-11-11 23:14:18 +0300 |
---|---|---|
committer | Artem Vorotnikov | 2015-11-11 23:14:18 +0300 |
commit | 1f27b936e1298bf042827a7929b39b8881b9dde2 (patch) | |
tree | c1a5d8f9060815689d28aee7ee7241494e471620 | |
download | aur-gtksourceview-highlight-haml.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d6c6da2cdd72 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = gtksourceview-highlight-haml + pkgdesc = HAML syntax highlighting for gtksourceview + pkgver = LATEST + pkgrel = 1 + url = https://github.com/mkllnk/gedit-rails-extensions + arch = any + license = GPL + source = git+https://github.com/mkllnk/gedit-rails-extensions.git + sha512sums = SKIP + +pkgname = gtksourceview2-highlight-haml + depends = gtksourceview2 + depends = mime-haml + +pkgname = gtksourceview3-highlight-haml + depends = gtksourceview3 + depends = mime-haml + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c5f3487e9f74 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" +} + |