summaryrefslogtreecommitdiff
path: root/~lukeshu/dunst-lukeshu-git/PKGBUILD
blob: c16526df99c6d1312be1dfbf02c5cc8fb6517fd4 (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
39
40
41
42
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

# $Id: PKGBUILD 88586 2013-04-20 15:35:54Z dwallace $
# Maintainer (Arch): Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor (Arch): feuri

_pkgname=dunst
_pkgver=1.0.0
conflicts=("$_pkgname")

pkgname=$_pkgname-lukeshu-git
pkgver=20130918
_gitver='commit=67b259b98ac1895bf47c877f216307a174deeb3d'
pkgrel=1
pkgdesc="A dmenu-ish notification system"
arch=('i686' 'x86_64')
url="http://www.knopwob.org/dunst/"
license=(BSD3)
depends=(libxinerama libxss libxdg-basedir pango)
optdepends=("libnotify: notify-send"
            "dbus: start dunst on demand")
makedepends=(libnotify dbus perl)
provides=(notification-daemon "$_pkgname=$_pkgver")

source=("https://repo.parabolagnulinux.org/other/~lukeshu/$pkgname/$pkgname-$pkgver.tar.gz")
mksource=("$pkgname-$pkgver::git://github.com/LukeShu/dunst.git#${_gitver}")
mkmd5sums=('SKIP')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	make PREFIX=/usr X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="${pkgdir}" PREFIX=/usr install
	install -Dm644 LICENSE  "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
	install -Dm755 dunstify "${pkgdir}/usr/bin/dunstify"
	cp docs/* "${pkgdir}/usr/share/dunst/"
}

md5sums=('720b643b2c7a710fabcc7dc1953318bf')