blob: 2a79a4ed8cb0f88076474142f13f5a8de95cb353 (
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
|
# Maintainer: Sebastian Wiesner <sebastian@swsnr.de>
pkgname=gnome-search-providers-vscode
pkgver=1.16.0
pkgrel=1
pkgdesc="Add VSCode workspaces to Gnome search"
arch=('x86_64')
url="https://github.com/swsnr/gnome-search-providers-vscode"
license=('MPL-2.0')
depends=('gnome-shell' 'sqlite')
makedepends=('rust')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('db3650e25ecd72c58123cec3872576e50598638027f533777db1c80baf0a2f0f')
build() {
cd "${pkgname}-${pkgver}" || exit 1
export RUSTFLAGS='--cap-lints=allow'
make PREFIX="/usr" build
}
package() {
cd "${pkgname}-${pkgver}" || exit 1
make DESTDIR="${pkgdir}" PREFIX="/usr" install
}
|