summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: be662eea53243e3bca65e773387102ca475be6eb (plain)
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
32
33
34
35
# Maintainer: Philipp Uhl <philipp.uhl@rwth-aachen.de>

pkgname=deadd-notification-center-bin
pkgver=2.1.1
pkgrel=2
pkgdesc="Customizable notification-daemon with notification center"
url="https://github.com/phuhl/linux_notification_center"
license=("BSD")
arch=('x86_64')
depends=('gobject-introspection-runtime' 'gtk3')
provides=('deadd-notification-center')
conflicts=('deadd-notification-center' 'deadd-notification-center-git')
DLAGENTS=('https::/usr/bin/curl -L -o %o %u')
source=(
    "deadd-notification-center::https://github.com/phuhl/linux_notification_center/releases/download/${pkgver}/deadd-notification-center"
    "${pkgname}-${pkgver}.tar.gz::https://github.com/phuhl/linux_notification_center/archive/refs/tags/${pkgver}.tar.gz")

prepare() {
    tar -zxvf "${pkgname}-${pkgver}.tar.gz"
    mkdir "linux_notification_center-${pkgver}/.out"
    mv deadd-notification-center "linux_notification_center-${pkgver}/.out/deadd-notification-center"
}

build() {
    cd "linux_notification_center-${pkgver}"
}

package() {
    cd "linux_notification_center-${pkgver}"
    make service
    make DESTDIR="$pkgdir" install
}

sha256sums=('eb45d81288a13ee26733db8c9f08b40261304f8eb2ea9667f36343d079c666e4'
            'e83cae52aff076da8f199d64580e921eeab029aca6214937ab38a6c43145862b')