blob: aca47b258c8ef9f1c38ef96afca10361cfbf4db0 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# Maintainer: Lars Rustand <rustand dot lars at gmail dot com>
# Upstream Maintainer (i3-wm): Thorsten Töpper <atsutane-tu@freethoughts.de>
# Patch Contributor: Marius Muja <mariusm@cs.ubc.ca>
# Patch Contributor: mickael9 <mickael9@gmail.com>
# Patch Contributor: Esteve Varela Colominas <esteve.varela@gmail.com>
# Contributor: cornholio <vigo.the.unholy.carpathian@gmail.com>
pkgname=i3-wm-iconpatch
_pkgsourcename=i3
pkgver=4.17.1
pkgrel=1
pkgdesc='An improved dynamic tiling window manager (with titlebar icon patch)'
arch=('i686' 'x86_64')
url='http://i3wm.org/'
license=('BSD')
provides=('i3-wm')
conflicts=('i3-wm')
groups=('i3')
depends=('xcb-util-cursor' 'xcb-util-keysyms' 'xcb-util-wm' 'xcb-util-xrm'
'libev' 'yajl' 'startup-notification' 'pango' 'libxkbcommon-x11')
makedepends=('bison' 'flex' 'pkg-config')
optdepends=('dmenu: As menu.'
'i3lock: For locking your screen.'
'i3status: To display system information with a bar.'
'perl: i3-save-tree and i3-dmenu-desktop'
'perl-anyevent-i3: Features like saving the layout.'
'perl-json-xs: Features like saving the layout.')
options=('docs' '!strip')
source=("http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2"
"http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2.asc"
"iconsupport.patch")
sha1sums=('1834ce349a2aea2fbb0d44d9ed820fa9e1a394ab'
'SKIP'
'd314df1acdd30d9297aaf7b2c1956908f0152d2c')
validpgpkeys=('424E14D703E7C6D43D9D6F364E7160ED4AC8EE1D') # Michael Stapelberg
prepare() {
cd "$srcdir/$_pkgsourcename-$pkgver"
patch -p1 < "$srcdir/iconsupport.patch"
}
build() {
cd "$srcdir/$_pkgsourcename-$pkgver"
[ -d build ] && rm -rf build
mkdir build
cd build
../configure --prefix=/usr --sysconfdir=/etc
# In order to avoid problems with bison use only a single process
MAKEFLAGS="-j1"
make CPPFLAGS+="-U_FORTIFY_SOURCE"
}
package() {
cd "$srcdir/$_pkgsourcename-$pkgver/build"
make DESTDIR="$pkgdir/" install
mkdir -p "${pkgdir}/usr/share/man/man1/"
install -m644 ../man/*.1 "${pkgdir}/usr/share/man/man1/"
install -Dm644 ../LICENSE \
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
# vim:set ts=2 sw=2 et:
|