blob: d6e24d753f4a6ff1008f84a5bf55966d6fd8845a (
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
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gedit
pkgver=3.36.1
pkgrel=0
pkgdesc="gedit is the GNOME text editor"
url="https://wiki.gnome.org/Apps/Gedit"
arch="all !s390x" # Limited by librsvg
license="GPL-2.0-only"
depends_dev="gedit=$pkgver-r$pkgrel"
makedepends="meson glib-dev gtk+3.0-dev gtksourceview4-dev libpeas-dev
libxml2-dev libsoup-dev gspell-dev libx11-dev gobject-introspection-dev
vala gtk-doc itstool perl tepl-dev"
checkdepends="appstream-glib desktop-file-utils"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gedit/${pkgver%.*}/gedit-$pkgver.tar.xz"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=plain \
-Ddocumentation=true \
. output
ninja -C output
}
check() {
ninja -C output test
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="0bcd686051698ffec437a06934ac4c11d0d1558e5d9df8629a9eec8e82da9ee6a9f737ee046271d2613840b644a65c8562aca5e4654d0abdb8db220a54a54d10 gedit-3.36.1.tar.xz"
|