Commit 8ca99f44 authored by Jakub Jirutka's avatar Jakub Jirutka 🇺🇦
Browse files

testing/swaync: new aport

parent 3b781ff1
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=swaync
_projname=SwayNotificationCenter
# No tagged releases; https://github.com/ErikReider/SwayNotificationCenter/issues/36.
pkgver=0.3_git20220103
_gitrev=6909949289f6a40241a331880d5b24cef4048c9b
pkgrel=0
pkgdesc="Notification daemon with a GTK GUI for notifications and the control center"
url="https://github.com/ErikReider/SwayNotificationCenter"
arch="all"
license="GPL-3.0"
depends="dbus"
makedepends="
gobject-introspection-dev
gtk+3.0-dev
gtk-layer-shell-dev
json-glib-dev
libhandy1-dev
meson
vala
"
subpackages="
$pkgname-bash-completion
$pkgname-fish-completion
$pkgname-zsh-completion
"
source="https://github.com/ErikReider/SwayNotificationCenter/archive/$_gitrev/$pkgname-$_gitrev.tar.gz
fix-fish-completions-dir.patch
"
builddir="$srcdir/$_projname-$_gitrev"
options="!check" # no tests defined
build() {
abuild-meson . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
e84f71aa3ef4b98dc5582f89eaca91d90cf1ee529f1deb686e614293f052f5e7f7851d2ed7691a83ab92c84a78b826dffd301280ac409b10fcbbf2785ccfe7c1 swaync-6909949289f6a40241a331880d5b24cef4048c9b.tar.gz
d6adceae7d8cba6ca6a3c131e61ac7ef31edacdd847063555fb5827494d4145d260975c8955492b7739cac9857457557e1f30870713468ced60f9b56c5534b55 fix-fish-completions-dir.patch
"
--- a/meson.build
+++ b/meson.build
@@ -53,7 +53,7 @@
pkgconfig_define: ['datadir', datadir]
)
else
- fish_install_dir = join_paths(datadir, 'fish', 'vendor_completions.d')
+ fish_install_dir = join_paths(datadir, 'fish', 'completions')
endif
install_data(fish_files, install_dir: fish_install_dir)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment