blob: 35c4ffaf11426c642c26c32dded56d9dbfea6988 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: hermes83
pkgname=gedit-externaltools-plugin
pkgver=48.0
pkgrel=1
pkgdesc="Externaltools plugin for the gedit Text Editor"
url="https://github.com/hermes83/gedit-externaltools-plugin"
arch=(x86_64)
license=(GPL-2.0-or-later)
depends=(
dconf
gedit
glib2
glibc
gtk3
libgedit-gtksourceview
libgedit-tepl
libpeas
pango
python
python-cairo
python-dbus
python-gobject
)
makedepends=(
appstream-glib
git
gobject-introspection
gucharmap
libgit2-glib
meson
vte3
yelp-tools
)
optdepends=(
'vte3: for embedded terminal'
)
source=("git+https://github.com/hermes83/gedit-externaltools-plugin.git#tag=${pkgver/[a-z]/.&}")
b2sums=('a9b0f4d167d8804533099cf8c6d222014b4585e029c67d9d7326495958b9408b26e4ff9f71e822c0d0251f28f447c7f6b5e3a3ca3eee57a5721a301c3b0213ce')
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
# Plugins not handled by meson's python.bytecompile
python -m compileall -d "/usr/lib/gedit" "$pkgdir/usr/lib/gedit"
python -O -m compileall -d "/usr/lib/gedit" "$pkgdir/usr/lib/gedit"
}
# vim:set sw=2 sts=-1 et:
|