aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gedit/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-07-06 17:01:33 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-07-06 18:59:23 -0300
commit9507673458d3dfaca223bc791ac97718c3841062 (patch)
tree3eb77681a7beb5187f6b11c5b4abe278c33255ca /testing/gedit/APKBUILD
parent82b6e034d7fcc4a5e95c0d2d1ca0982b67ef2c53 (diff)
downloadaports-9507673458d3dfaca223bc791ac97718c3841062.tar.gz
aports-9507673458d3dfaca223bc791ac97718c3841062.tar.bz2
aports-9507673458d3dfaca223bc791ac97718c3841062.tar.xz
testing/gedit: new aport
Diffstat (limited to 'testing/gedit/APKBUILD')
-rw-r--r--testing/gedit/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/gedit/APKBUILD b/testing/gedit/APKBUILD
new file mode 100644
index 0000000000..9a7528c168
--- /dev/null
+++ b/testing/gedit/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gedit
+pkgver=3.32.2
+pkgrel=0
+pkgdesc="gedit is the GNOME text editor"
+url="https://wiki.gnome.org/Apps/Gedit"
+arch="all"
+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"
+options="!check" # no tests
+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=release \
+ -Ddocumentation=true \
+ . output
+ ninja -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="a3ed4dea3d0f60fb2371d2b6bbf5f5db1f67c9a71d0d47836456e022903e86b8b127c88ece6a6d817b0c86ff82612c963a9e8ed60f9841af68474a1d129c886d gedit-3.32.2.tar.xz"