[arch-commits] Commit in pantheon-code/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Fri Oct 2 08:28:05 UTC 2020


    Date: Friday, October 2, 2020 @ 08:28:04
  Author: alucryd
Revision: 715189

gnome 3.38: pantheon-code 3.4.1-2

Modified:
  pantheon-code/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-02 08:26:43 UTC (rev 715188)
+++ PKGBUILD	2020-10-02 08:28:04 UTC (rev 715189)
@@ -3,7 +3,7 @@
 
 pkgname=pantheon-code
 pkgver=3.4.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The Pantheon Text Editor'
 arch=(x86_64)
 url=https://github.com/elementary/code
@@ -21,6 +21,7 @@
   pango
 )
 makedepends=(
+  cmake
   git
   gobject-introspection
   gtkspell3
@@ -34,12 +35,12 @@
 optdepends=(
   'gtkspell3: Spell Check plugin'
   'libsoup: Pastebin plugin'
-  'vala: Outline plugin'
   'vte3: Terminal plugin'
   'webkit2gtk: Browser Preview plugin'
 )
-source=(pantheon-code::git+https://github.com/elementary/code.git#tag=5efce792e7020c436d5127345001d85b1575de5a)
-sha256sums=('SKIP')
+_tag=5efce792e7020c436d5127345001d85b1575de5a
+source=(pantheon-code::git+https://github.com/elementary/code.git#tag=${_tag})
+sha256sums=(SKIP)
 
 pkgver() {
   cd pantheon-code
@@ -47,6 +48,11 @@
   git describe --tags
 }
 
+prepare() {
+  # won't build with vala 0.50.1
+  sed "/subdir('outline')/d" -i pantheon-code/plugins/meson.build
+}
+
 build() {
   arch-meson pantheon-code build
   ninja -C build



More information about the arch-commits mailing list