summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d18a626912b78279e16858694f3f375c30134be4 (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
# Maintainer: Philipp Uhl <philipp.uhl@rwth-aachen.de>

_gitname="linux_notification_center"
pkgname=deadd-notification-center-git
pkgver=1.7.3.r5.g329506b
pkgrel=1
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')
makedepends=('stack' 'cairo' 'pango' 'gobject-introspection' 'git')
provides=('deadd-notification-center')
conflicts=('deadd-notification-center-bin' 'deadd-notification-center')
source=("git+${url}.git#branch=master")
md5sums=("SKIP")

pkgver() {
  cd "${srcdir}/${_gitname}"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "${srcdir}/${_gitname}"
  make
}

package() {
  cd "${srcdir}/${_gitname}"
  make DESTDIR="$pkgdir" install
}