summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bb275292c6c8d7293d1aaf380a0a36dcff54b141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Sebastian Wiesner <sebastian@swsnr.de>
# Last Packager: liolok <aur@liolok.com>

_uuid=vscode-search-provider@jomik.org
pkgname=gnome-shell-extension-vscode-search-provider
pkgver=17
pkgrel=1
pkgdesc="Add recent VSCode projects to Gnome Shell search"
arch=('any')
url="https://github.com/Jomik/vscode-search-provider"
license=('MIT')
depends=('gnome-shell>=3.34')
source=(
	"$url/releases/download/v$pkgver/${_uuid}.shell-extension.zip"
	"https://raw.githubusercontent.com/Jomik/vscode-search-provider/v$pkgver/LICENSE"
)
md5sums=('d933c39cbad6d694141c99ac750e853d'
	'efb8f83b91c5222e21b5fad9b3ca3a0a')
sha1sums=('ff858566c33efda0e5b8843d186e820b602bcaf6'
	'45b5cda2b2c710f8ceb903c6824d20ef0eb05d0b')
sha512sums=('3c4c9adf8e159310441f9af71cec9d03a6df8bdda1b269281585da2284a1ae912d88fbc4dbae5437614f987b51925c8b9dbf240e703a3c1fb6fc485ec8a419bf'
	'bba3b89d30eaad81bbf1f686f6a385f950a51541c1719a72243517bec308a2c5bb5a408e53672ac3f62988b27988637133b9d4eda1c92e3a0ce47e7a8e9c16bc')

package() {
	local _destdir="$pkgdir/usr/share/gnome-shell/extensions/$_uuid"

	install -d "$_destdir"
	cp --parents -t "$_destdir" -- metadata.json *.js prefs.xml schemas/gschemas.compiled schemas/*.xml
	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
	ln --symbolic --relative "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" "$_destdir"
}