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

Maxime Gauduin alucryd at archlinux.org
Sun Jun 9 13:05:12 UTC 2019


    Date: Sunday, June 9, 2019 @ 13:05:12
  Author: alucryd
Revision: 478883

upgpkg: pantheon-code 3.1.1-2

Modified:
  pantheon-code/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++---------------
 1 file changed, 5 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-09 13:02:32 UTC (rev 478882)
+++ PKGBUILD	2019-06-09 13:05:12 UTC (rev 478883)
@@ -3,7 +3,7 @@
 
 pkgname=pantheon-code
 pkgver=3.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The Pantheon Text Editor'
 arch=(x86_64)
 url=https://github.com/elementary/code
@@ -37,30 +37,20 @@
   'vte3: Terminal plugin'
   'webkit2gtk: Browser Preview plugin'
 )
-_commit=66f277327ba481bcc8e0bb761ee7297495a4c4ff  # tags/3.1.1
-source=("pantheon-code::git+https://github.com/elementary/code.git#commit=${_commit}")
-sha256sums=('SKIP')
+source=(pantheon-code::git+https://github.com/elementary/code.git#tag=${pkgver})
+sha256sums=(SKIP)
 
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
 prepare() {
   cd $pkgname
 }
 
 build() {
-  arch-meson $pkgname build
+  arch-meson pantheon-code build
   ninja -C build
 }
 
-check() {
-  meson test -C build
-}
-
 package() {
-  DESTDIR="$pkgdir" meson install -C build
+  DESTDIR="${pkgdir}" meson install -C build
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list