summaryrefslogtreecommitdiff
path: root/pcr/dunst-next/PKGBUILD
blob: 808522364d8f0a6beae10bc21430c86af0b186b9 (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
36
37
38
# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
# Maintainer (Arch:dunst): Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor (Arch:dunst): feuri

_pkgname=dunst
_pkgver=1.2.0

pkgname=$_pkgname-next
pkgver=20170301
_gitver='57e9d07c30861954f4ddd8f9f68f17335fec47f7'

pkgrel=1
pkgdesc="Customizable and lightweight notification-daemon"
arch=('i686' 'x86_64')
url="https://github.com/dunst-project/dunst/tree/next"
license=(BSD3)
depends=(dbus gtk2 libxdg-basedir libxss)
provides=(notification-daemon)
source=("$_pkgname-$_gitver.tar.gz::https://github.com/dunst-project/dunst/archive/$_gitver.tar.gz")
md5sums=('99f2a413bb3151b235c52981ac9aef66')

provides+=("$_pkgname=_pkgver")
conflicts+=("$_pkgname")

prepare() {
	echo "next-$pkgver" > "$srcdir/$_pkgname-$_gitver/VERSION"
}

build() {
	make -C "$srcdir/$_pkgname-$_gitver"
}

package() {
	make -C "$_pkgname-$_gitver" DESTDIR="${pkgdir}" PREFIX=/usr install
	install -Dm644 "${srcdir}/$_pkgname-$_gitver/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

# vim:set ts=2 sw=2 et: