Initial PKGBUILD
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1,3 +1,7 @@
|
||||
build
|
||||
*.ui~
|
||||
*.ui#
|
||||
pkg
|
||||
build
|
||||
SwayNotificationCenter
|
||||
swaync
|
||||
swaync*
|
||||
|
22
PKGBUILD
Normal file
22
PKGBUILD
Normal 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
|
||||
}
|
@@ -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
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user