File tree 2 files changed +35
-0
lines changed 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Maintainer: tkit <[email protected] >
2
+ pkgname=code-nautilus-git
3
+ pkgver=r9.ddff975
4
+ pkgrel=2
5
+ pkgdesc=" VSCode extension for Nautilus"
6
+ arch=(' i686' ' x86_64' )
7
+ url=" https://github.com/cra0zy/code-nautilus"
8
+ license=(' custom' )
9
+ depends=(' python-nautilus' )
10
+ makedepends=(' git' )
11
+ optdepends=(' code: The Visual Studio Code (vscode) editor' )
12
+ install=" ${pkgname} .install"
13
+ source=(" ${pkgname} ::git+${url} .git" )
14
+ md5sums=(' SKIP' )
15
+ pkgver () {
16
+ cd " $pkgname "
17
+ (
18
+ set -o pipefail
19
+ git describe --long 2> /dev/null | sed ' s/\([^-]*-g\)/r\1/;s/-/./g' ||
20
+ printf " r%s.%s" " $( git rev-list --count HEAD) " " $( git rev-parse --short HEAD) "
21
+ )
22
+ }
23
+
24
+ package () {
25
+ cd " $pkgname "
26
+ install -Dm755 code-nautilus.py " $pkgdir /usr/share/nautilus-python/extensions/code-nautilus.py"
27
+ install -Dm644 LICENSE " $pkgdir /usr/share/licenses/$pkgname /LICENSE"
28
+ }
Original file line number Diff line number Diff line change
1
+ post_install() {
2
+ echo "Remember to restart nautilus by running 'nautilus -q'"
3
+ }
4
+
5
+ post_remove() {
6
+ echo "Remember to restart nautilus by running 'nautilus -q'"
7
+ }
You can’t perform that action at this time.
0 commit comments