Initial PKGBUILD

This commit is contained in:
Erik Reider
2021-07-30 18:59:06 +02:00
parent 189402e8f1
commit 4abddf022c
4 changed files with 31 additions and 5 deletions

6
.gitignore vendored
View File

@@ -1,3 +1,7 @@
build
*.ui~
*.ui#
pkg
build
SwayNotificationCenter
swaync
swaync*

22
PKGBUILD Normal file
View File

@@ -0,0 +1,22 @@
pkgname=swaync
pkgver=0.1
pkgrel=1
pkgdesc="A simple notificaion daemon with a GTK panel"
url="https://github.com/ErikReider/SwayNotificationCenter"
arch=(x86_64)
license=(GPL)
depends=(gtk3 gtk-layer-shell dbus)
makedepends=(vala meson git)
source=("git+https://github.com/ErikReider/SwayNotificationCenter")
sha256sums=('SKIP')
build() {
# cd SwayNotificationCenter
# pwd
arch-meson SwayNotificationCenter build
ninja -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}

View File

@@ -29,13 +29,13 @@ ninja -C build
To start the daemon (remember to kill any other notification daemon before running)
```zsh
./build/src/sway-nc
./build/src/swaync
```
To toggle the panel
```zsh
./build/src/sway-nc-client
./build/src/swaync-client
```
## Screenshots

View File

@@ -27,14 +27,14 @@ app_sources += gnome.compile_resources('sway_notificaton_center-resources',
c_name: 'sway_notificaton_center'
)
executable('sway-nc',
executable('swaync',
app_sources,
vala_args: args,
dependencies: app_deps,
install: true,
)
executable('sway-nc-client',
executable('swaync-client',
['client.vala', 'constants.vala'],
vala_args: args,
dependencies: app_deps,