-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Makefile
31 lines (26 loc) · 847 Bytes
/
Makefile
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
get:
go get github.com/diamondburned/gotk4/pkg/gdk/v3
go get github.com/diamondburned/gotk4/pkg/glib/v2
go get github.com/diamondburned/gotk4/pkg/gtk/v3
go get github.com/diamondburned/gotk4-layer-shell/pkg/gtklayershell
go get github.com/joshuarubin/go-sway
go get github.com/allan-simon/go-singleinstance
go get github.com/sirupsen/logrus
go get github.com/fsnotify/fsnotify
build:
go build -v -o bin/nwg-drawer .
install:
-pkill -f nwg-drawer
sleep 1
mkdir -p /usr/share/nwg-drawer
cp -r desktop-directories /usr/share/nwg-drawer
cp -r img /usr/share/nwg-drawer
cp drawer.css /usr/share/nwg-drawer
cp bin/nwg-drawer /usr/bin
install -Dm 644 -t "/usr/share/licenses/nwg-drawer" LICENSE
install -Dm 644 -t "/usr/share/doc/nwg-drawer" README.md
uninstall:
rm -r /usr/share/nwg-drawer
rm /usr/bin/nwg-drawer
run:
go run .