diff options
author | Thorben Günther | 2021-02-18 14:03:23 +0100 |
---|---|---|
committer | Thorben Günther | 2021-02-18 14:03:23 +0100 |
commit | 32c09211419f010611ca525d982926a2f1cc3bf2 (patch) | |
tree | b6fa66c47cecd2ffc4493a05dbdc99f685b888b1 /PKGBUILD | |
parent | b37d95250a1b4e72e25ea642ad0d56658bbaec11 (diff) | |
download | aur-mako-git.tar.gz |
upgpkg: mako-git v1.4.1.r61.gdbd9c2b-1
Add systemd service and patch D-Bus.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -2,7 +2,7 @@ # Contributor: Drew DeVault <sir@cmpwn.com> pkgname=mako-git _pkgname=mako -pkgver=v1.4.1.r51.g85d3d51 +pkgver=v1.4.1.r61.gdbd9c2b pkgrel=1 license=('MIT') pkgdesc='Lightweight notification daemon for Wayland' @@ -17,8 +17,14 @@ depends=( optdepends=("jq: support for 'makoctl menu'") arch=("x86_64") url='http://mako-project.org' -source=("${pkgname%-*}::git+https://github.com/emersion/mako.git") -sha1sums=('SKIP') +source=( + "${pkgname%-*}::git+https://github.com/emersion/mako.git" + "mako.service" + "0001-Fix-DBus-service.patch" +) +sha1sums=('SKIP' + '688484d6bf677e6f6014c9311ff40fabae748bcc' + '64b8a3446fa1ddc3d876629a0c4a3d1d6bb0b20f') provides=('mako') conflicts=('mako') @@ -31,6 +37,10 @@ pkgver() { ) } +prepare() { + patch -Np1 -i "$srcdir/0001-Fix-DBus-service.patch" -d "$_pkgname" +} + build() { cd "$_pkgname" arch-meson -Dzsh-completions=true -Dsd-bus-provider=libsystemd build @@ -41,4 +51,5 @@ package() { cd "$_pkgname" DESTDIR="$pkgdir/" ninja -C build install install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"${pkgname%-*}"/LICENSE + install -Dm0644 ../mako.service -t "$pkgdir"/usr/lib/systemd/user/ } |