jobextra/i3-wm/PKGBUILD

68 lines
2.4 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=i3-wm
pkgver=4.22
pkgrel=05
pkgdesc='Improved dynamic tiling window manager'
url="https://i3wm.org/downloads"
groups=('i3')
depends=('libev' 'libxkbcommon-x11' 'pango' 'startup-notification' 'ttf-liberation'
'xcb-util-cursor' 'xcb-util-keysyms' 'xcb-util-wm' 'xcb-util-xrm'
'yajl')
makedepends=('meson' 'xmlto')
optdepends=('dmenu: for the default program launcher'
'rofi: for a modern dmenu replacement'
'i3lock: for the default screen locker'
'xss-lock: for the default screen locker'
'i3status: for the default status bar generator'
'perl: for i3-save-tree and i3-dmenu-desktop'
'perl-anyevent-i3: for i3-save-tree'
'perl-json-xs: for i3-save-tree')
#replaces=('i3' 'i3bar' 'i3-gaps')
conflicts=('i3' 'i3bar' 'i3-gaps')
provides=('i3-gaps')
backup=(etc/i3/config)
#options=('docs' 'debug')
source=("$url/i3-$pkgver.tar.xz"{,.asc}
'i3-commit-9c8746c0.patch::https://github.com/i3/i3/commit/9c8746c00fee18561e2a0a039d9b1c7387b848c5.patch')
prepare() {
cd i3-$pkgver
patch -Np1 -i ../i3-commit-9c8746c0.patch
}
build() {
cd i3-$pkgver
arch-meson build
ninja -C build
}
package() {
cd i3-$pkgver
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(BSD)
validpgpkeys=('424E14D703E7C6D43D9D6F364E7160ED4AC8EE1D') # Michael Stapelberg <michael@stapelberg.de>
b2sums=('fa179f445ba4286bfeec98dc7a2e1dfad14bda6874e84878a48ee5890ed4cf3a90fc542e8e14aedaaba3abebc8d280284a3b00e838da70a783064a4bd271ca41'
'SKIP'
'a304a73ac943cf7b2de00e0d52a4d6c659333760549fe470bf4a2f964eec7ab2d6ecd20e2c4304e83ae0c9caf322430a38dfc63f8a48b1126bc1ebc0d98d76cd')
sha256sums=(28639911e59d95639f092642a982f5e1dea592250c2b5ce98eda100833513e4b # i3-4.22.tar.xz
5faf8d0056e7ba86d22fb2304b0121d5a3558fc70a563a56f96ae522ce3576c6 # i3-4.22.tar.xz.asc
b357141baaa1b92493d6b6a4957aea5c9204cb06bcbb466b46bc409fbe93b68d) # i3-commit-9c8746c0.patch
## 7e97ec8ba8467411d0b2deaef88687accc53574a7773af4ff028b469833478f7 i3-wm-4.22-05-x86_64.pkg.tar.lz