blob: ed11a89006385647a259e0aa17183a688be6a1d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Frederik “Freso” S. Olesen <archlinux@freso.dk>
pkgname=gtksourceview3-fish-git
pkgver=5.12.0.r7.g3b7476d
pkgrel=1
pkgdesc='GtkSourceView3 syntax highlighting for fish shell scripts.'
arch=('any')
url='https://gitlab.gnome.org/GNOME/gtksourceview/-/merge_requests/20'
license=('LGPL-2.1-or-later')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://gitlab.gnome.org/GNOME/gtksourceview.git')
md5sums=('SKIP')
pkgver() {
git -C 'gtksourceview/' describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
depends=('gtksourceview3')
install -Dm644 gtksourceview/data/language-specs/fish.lang "$pkgdir"/usr/share/gtksourceview-3.0/language-specs/fish.lang
}
|