blob: 5c72f198c7e2e3e9fecedc92fa40ae4ca674dd9d (
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: José Joaquín Zubieta Rico <flyingspaghetti@airmail.cc>
# based on the PKGBUILD of dzen2-git
pkgname=dzen2-suave
pkgver=0.9.5
pkgrel=2
pkgdesc="X notification utility with Xinerama and XMP support, git version."
arch=('i686' 'x86_64')
url='https://github.com/Suavesito-Olimpiada/dzen'
license=('MIT/X')
depends=(libxft)
makedepends=(git)
source=('dzen::git+https://github.com/Suavesito-Olimpiada/dzen')
md5sums=('SKIP')
conflicts=(dzen2-svn dzen2 dzen2-git)
provides=('dzen2')
pkgver() {
cd "$srcdir/dzen"
printf "r%s.%s" "$(git rev-list --count HEAD)" \
"$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/dzen"
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
cd "$srcdir/dzen/gadgets"
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
}
package() {
cd "$srcdir/dzen"
make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
install -Dm644 README.dzen "${pkgdir}/usr/share/doc/${pkgname}/README.dzen"
install -Dm644 CREDITS "${pkgdir}/usr/share/doc/${pkgname}/CREDITS"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd "$srcdir/dzen/gadgets"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
|