Date: Friday, December 29, 2017 @ 22:55:58 Author: foxboron Revision: 276918
Added i3-gaps Added: i3-gaps/ i3-gaps/repos/ i3-gaps/trunk/ i3-gaps/trunk/PKGBUILD ----------+ PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) Added: i3-gaps/trunk/PKGBUILD =================================================================== --- i3-gaps/trunk/PKGBUILD (rev 0) +++ i3-gaps/trunk/PKGBUILD 2017-12-29 22:55:58 UTC (rev 276918) @@ -0,0 +1,54 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Ingo Bürk <admin at airblader dot de> + +pkgname=i3-gaps +_pkgsourcename=i3 +pkgver=4.14.1 +pkgrel=2 +pkgdesc='A fork of i3wm tiling window manager with more features, including gaps' +arch=('i686' 'x86_64') +url='https://github.com/Airblader/i3' +license=('BSD') +provides=('i3-wm') +conflicts=('i3-wm' 'i3bar') +groups=('i3') +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=("${pkgname}-${pkgver}.tar.gz::https://github.com/Airblader/i3/archive/${pkgver}.tar.gz") +sha256sums=('47a226a5a750a6146ad47d56a7a45d7d71fea18e833b6b9565f45205c99bd685') + +prepare(){ + mkdir build + cd "${_pkgsourcename}-${pkgver}" + + autoreconf -fvi +} + +build() { + cd build + + ../i3-$pkgver/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-$pkgver/LICENSE +} + +# vim:set ts=2 sw=2 et: