David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
zsh-syntax-highlighting


Commits:
5a500c42 by David Runge at 2023-12-19T23:07:32+01:00
Update maintainer info

Signed-off-by: David Runge <[email protected]>

- - - - -
5b28a8bf by David Runge at 2023-12-19T23:13:46+01:00
Remove unnecessary quotes and curly braces

Signed-off-by: David Runge <[email protected]>

- - - - -
c685b23d by David Runge at 2023-12-19T23:21:49+01:00
Switch to upstream provided source tarballs and simplify make calls

Signed-off-by: David Runge <[email protected]>

- - - - -
6a961d2b by David Runge at 2023-12-19T23:22:41+01:00
Switch to correct SPDX license identifier for upstream project

Signed-off-by: David Runge <[email protected]>

- - - - -
abcec510 by David Runge at 2023-12-19T23:23:57+01:00
Remove changelog

Signed-off-by: David Runge <[email protected]>

- - - - -
5b613547 by David Runge at 2023-12-19T23:25:18+01:00
Simplify custom symlink and install calls

Signed-off-by: David Runge <[email protected]>

- - - - -
1fa25558 by David Runge at 2023-12-19T23:29:15+01:00
upgpkg: 0.8.0-1

- - - - -


3 changed files:

- + .SRCINFO
- − ChangeLog
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,15 @@
+pkgbase = zsh-syntax-highlighting
+       pkgdesc = Fish shell like syntax highlighting for Zsh
+       pkgver = 0.8.0
+       pkgrel = 1
+       url = https://github.com/zsh-users/zsh-syntax-highlighting
+       install = zsh-syntax-highlighting.install
+       arch = any
+       license = BSD-3-Clause
+       checkdepends = procps-ng
+       depends = zsh
+       source = 
zsh-syntax-highlighting-0.8.0.tar.gz::https://github.com/zsh-users/zsh-syntax-highlighting/archive/refs/tags/0.8.0.tar.gz
+       sha512sums = 
58593c8bf3fa1476ecf0fceb1fc4eab986a778de657d359a28fe48798e787896fbf2588441c69b017a08227ab44dd46473afb16e0f125aae59cc58004bfa8c2e
+       b2sums = 
bdb95dc825514e2c0ced2a33133967089fdbd851e00874f68497cd5daae2010f5335fb173569f5af6aea65f4e23744076c420ebc957b7bdba325fcec573d3805
+
+pkgname = zsh-syntax-highlighting


=====================================
ChangeLog deleted
=====================================
@@ -1,20 +0,0 @@
-0.6.0-1:
-upstream update
-
-0.5.0-1:
-upstream update
-
-0.4.1-2:
-add workaround for oh-my-zsh (see 
https://github.com/zsh-users/zsh-syntax-highlighting/issues/270)
-
-0.4.1-1:
-upstream update
-
-0.4.0-1:
-ustream update
-
-0.3.0-1:
-upstream update
-
-0.2.1-1:
-upstream update


=====================================
PKGBUILD
=====================================
@@ -1,39 +1,35 @@
-# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Maintainer: David Runge <[email protected]>
+# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org>
 # Contributor: Julien Nicoulaud <julien.nicoulaud at gmail dot com>
 
 pkgname=zsh-syntax-highlighting
-pkgver=0.7.1
+pkgver=0.8.0
 pkgrel=1
 pkgdesc="Fish shell like syntax highlighting for Zsh"
-arch=('any')
+arch=(any)
 url="https://github.com/zsh-users/zsh-syntax-highlighting";
-license=('BSD')
-depends=('zsh>=4.3.9')
-checkdepends=('procps-ng')
-install="${pkgname}.install"
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/zsh-users/${pkgname}/tarball/${pkgver}";)
-sha512sums=('b2594e265c6ff2b6efcdb92ff604ffb45b670c0f1a99c04fda3d7061154173e1bbaffe89f0665b9dd6e171027b15068e131d01baaf470fea624cd590e3986be4')
-changelog=ChangeLog
+license=(BSD-3-Clause)
+depends=(zsh)
+checkdepends=(procps-ng)
+install=$pkgname.install
+source=($pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz)
+sha512sums=('58593c8bf3fa1476ecf0fceb1fc4eab986a778de657d359a28fe48798e787896fbf2588441c69b017a08227ab44dd46473afb16e0f125aae59cc58004bfa8c2e')
+b2sums=('bdb95dc825514e2c0ced2a33133967089fdbd851e00874f68497cd5daae2010f5335fb173569f5af6aea65f4e23744076c420ebc957b7bdba325fcec573d3805')
 
 build() {
-  cd "zsh-users-zsh-syntax-highlighting-"*
-  make
+  make -C $pkgname-$pkgver
 }
 
 check() {
-  cd "zsh-users-zsh-syntax-highlighting-"*
-  make quiet-test
+  make quiet-test -C $pkgname-$pkgver
 }
 
 package() {
-  cd "zsh-users-zsh-syntax-highlighting-"*
-  make PREFIX="/usr" SHARE_DIR="${pkgdir}/usr/share/zsh/plugins/${pkgname}" 
DESTDIR="${pkgdir}" install
+  make PREFIX="/usr" SHARE_DIR="$pkgdir/usr/share/zsh/plugins/$pkgname" 
DESTDIR="$pkgdir" install -C $pkgname-$pkgver
   # create symlink for using with oh-my-zsh
-  ln -s "zsh-syntax-highlighting.zsh" \
-       
"${pkgdir}/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh"
+  ln -sv zsh-syntax-highlighting.zsh 
"$pkgdir/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh"
 
   # licence
-  install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s "/usr/share/doc/${pkgname}/COPYING.md" \
-        "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+  install -vdm 755 "$pkgdir/usr/share/licenses/$pkgname"
+  ln -sv /usr/share/doc/$pkgname/COPYING.md 
"$pkgdir/usr/share/licenses/$pkgname/"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/zsh-syntax-highlighting/-/compare/9d4b6d366120cb24fcffb311a718f984365a71f7...1fa2555865de9ed8beaaa9034b4c4ddd65fb3b0b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/zsh-syntax-highlighting/-/compare/9d4b6d366120cb24fcffb311a718f984365a71f7...1fa2555865de9ed8beaaa9034b4c4ddd65fb3b0b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to