blob: 0faa8e140aae8c4217b2f35ea897638716aec361 (
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
29
30
31
32
33
34
35
36
37
38
|
pkgname=gedit-plugins-git
_pkgname=gedit-plugins
pkgver=3.36.2+29+g84a7d07
pkgrel=1
pkgdesc="Collection of plugins for the gedit Text Editor"
url="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins"
arch=(x86_64)
license=(GPL)
depends=('gedit' 'python-dbus' 'python-cairo')
makedepends=('vte3' 'libgit2-glib' 'gucharmap' 'gobject-introspection' 'vala' 'yelp-tools'
'appstream-glib' 'git' 'meson')
optdepends=('gucharmap: for charmap plugin'
'vte3: for embedded terminal'
'libgit2-glib: for git plugin')
provides=('gedit-plugins')
conflicts=('gedit-plugins')
source=("git+https://gitlab.gnome.org/GNOME/gedit-plugins.git")
sha512sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --tags | sed 's/-/+/g'
}
build() {
arch-meson $_pkgname build
ninja -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
DESTDIR="$pkgdir" meson install -C build
python -m compileall -d /usr "$pkgdir/usr"
python -O -m compileall -d /usr "$pkgdir/usr"
}
|