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

Maxime Gauduin alucryd at archlinux.org
Sat Nov 17 14:59:56 UTC 2018


    Date: Saturday, November 17, 2018 @ 14:59:56
  Author: alucryd
Revision: 408550

upgpkg: pantheon-code 3.0-1

Modified:
  pantheon-code/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++------------------
 1 file changed, 12 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-17 14:55:14 UTC (rev 408549)
+++ PKGBUILD	2018-11-17 14:59:56 UTC (rev 408550)
@@ -2,35 +2,29 @@
 # Contributor: Ner0 <darkelfdarkelf666 at yahoo.co.uk>
 
 pkgname=pantheon-code
-pkgver=2.4.1.r735.ab6994df
+pkgver=3.0
 pkgrel=1
 pkgdesc='The Pantheon Text Editor'
 arch=('x86_64')
-url='https://launchpad.net/scratch'
+url='https://github.com/elementary/code'
 license=('GPL3')
-depends=('editorconfig-core-c' 'glib2' 'gtk3' 'gtksourceview3' 'libgee'
-         'libpeas' 'pango' 'zeitgeist'
-         'libgranite.so')
-makedepends=('git' 'gobject-introspection' 'gtkspell3' 'intltool' 'libsoup'
-             'meson' 'vala' 'vte3' 'webkit2gtk')
+depends=(
+  'editorconfig-core-c' 'glib2' 'gtk3' 'gtksourceview3' 'libgee' 'libgit2-glib'
+  'libpeas' 'pango' 'zeitgeist'
+  'libgranite.so'
+)
+makedepends=(
+  'git' 'gobject-introspection' 'gtkspell3' 'intltool' 'libsoup' 'meson' 'vala'
+  'vte3' 'webkit2gtk'
+)
 optdepends=('gtkspell3: Spell Check plugin'
             'libsoup: Pastebin plugin'
             'vala: Outline plugin'
             'vte3: Terminal plugin'
             'webkit2gtk: Browser Preview plugin')
-provides=('scratch-text-editor')
-conflicts=('scratch-text-editor')
-replaces=('scratch-text-editor')
-_commit='ab6994dfc3662c1f481688610b26c40170967a19'
-source=("pantheon-code::git+https://github.com/elementary/code.git#commit=${_commit}")
+source=("pantheon-code::git+https://github.com/elementary/code.git#tag=${pkgver}")
 sha256sums=('SKIP')
 
-pkgver() {
-  cd pantheon-code
-
-  git describe --tags | sed 's/-/.r/; s/-g/./'
-}
-
 build() {
   arch-meson pantheon-code build
   ninja -C build



More information about the arch-commits mailing list