blob: 549592bb0578c87b0e5ff6d271c611429eea3ecb (
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
|
pkgname=i3-gaps-doubleborder
_pkgsourcename=i3
pkgver=20180710
pkgrel=1
pkgdesc='A fork of i3-gaps allowing double borders.'
arch=('i686' 'x86_64')
url='https://github.com/max-lv/i3'
license=('BSD')
provides=('i3-wm')
conflicts=('i3-wm')
depends=('xcb-util-keysyms' 'xcb-util-wm' 'libev' 'yajl'
'startup-notification' 'pango' 'perl' 'xcb-util-cursor' 'xcb-util-xrm'
'libxkbcommon-x11')
makedepends=('bison' 'flex' 'asciidoc' 'xmlto')
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')
backup=(etc/i3/config)
options=('docs' '!strip')
source=(git+https://github.com/max-lv/i3.git)
md5sums=('SKIP')
pkgver() {
date +%Y%m%d
}
prepare(){
mkdir build
cd "${_pkgsourcename}"
autoreconf -fvi
#mkdir build
}
build() {
cd build
../i3/configure \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
cd build
make DESTDIR="${pkgdir}/" install
install -Dt "$pkgdir/usr/share/man/man1" -m644 man/*.1
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 ../i3/LICENSE
}
|