blob: 7f38e25c964d69c1dbeb9c4d62cb327641319d4b (
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
|
# Maintainer: Rhys Perry <rhysperry111@gmail.com>
# Based on i3-gaps-next-git PKGBUILD
pkgname=i3-gaps-rounded-git
pkgver=4.16.1.r184.00181678
pkgrel=1
pkgdesc='A fork of i3wm tiling window manager with more features, including gaps and rounded corners'
arch=('i686' 'x86_64')
url='https://github.com/resloved/i3'
license=('BSD')
provides=('i3-wm')
conflicts=('i3-wm' 'i3bar' 'i3bar-git' 'i3-git' 'i3-gaps-git' 'i3-gaps')
depends=('xcb-util-keysyms' 'xcb-util-wm' 'libev' 'yajl'
'startup-notification' 'pango' 'perl' 'xcb-util-cursor' 'xcb-util-xrm'
'libxkbcommon-x11')
makedepends=('git' 'asciidoc' 'docbook-xsl' 'xmlto' 'perl' 'pkgconfig')
optdepends=('rxvt-unicode: The terminal emulator used in the default config.'
'dmenu: As menu.'
'i3lock: For locking your screen.'
'i3status: To display system information with a bar.'
'perl-json-xs: For i3-save-tree'
'perl-anyevent-i3: For i3-save-tree')
options=('docs' '!strip')
source=('git://github.com/resloved/i3#branch=shape')
sha1sums=('SKIP')
_gitname='i3'
pkgver() {
cd "$srcdir/$_gitname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$_gitname"
autoreconf --force --install
rm -rf build/
mkdir -p build && cd build/
../configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-sanitizers
# See https://lists.archlinux.org/pipermail/arch-dev-public/2013-April/024776.html
make CPPFLAGS+="-U_FORTIFY_SOURCE"
}
package() {
cd "$_gitname"
cd build/
make DESTDIR="$pkgdir/" install
install -Dm644 ../LICENSE \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et:
|