Created
September 24, 2022 10:36
-
-
Save WeaponMan/b7cfba91cf19cbed6704d0ad485defe4 to your computer and use it in GitHub Desktop.
i3-title-fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us> | |
# Contributor: Thorsten Toepper <atsutane at freethoughts dot de> | |
# Contributor: William Giokas <1007380@gmail.com> | |
# This PKGBUILD was prepared for pacman 4.1 by William. Thank you. :-) | |
pkgname=i3-git | |
pkgver=4.13.r1759.g5f6c4a92 | |
pkgrel=1 | |
pkgdesc='An improved dynamic tiling window manager' | |
arch=('i686' 'x86_64') | |
url='http://i3wm.org/' | |
license=('BSD') | |
provides=('i3-wm') | |
conflicts=('i3-wm' 'i3-gaps' 'i3-gaps-next-git') | |
groups=('i3' 'i3-vcs') | |
depends=('xcb-util-keysyms' 'xcb-util-wm' 'libev' 'yajl' | |
'startup-notification' 'pango' 'perl' 'xcb-util-cursor' 'xcb-util-xrm' | |
'libxkbcommon-x11') | |
makedepends=('git' 'bison' 'flex' 'asciidoc' 'xmlto' 'meson') | |
optdepends=('i3lock: For locking your screen.' | |
'i3status: To display system information with a bar.') | |
options=('docs') | |
source=('git+https://github.com/orestisfl/i3#branch=5149/motif-maximum-decoration') | |
sha1sums=('SKIP') | |
pkgver() { | |
cd "$srcdir/i3" | |
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | |
} | |
build() { | |
cd "i3" | |
arch-meson \ | |
-Ddocs=true \ | |
-Dmans=true \ | |
../build | |
meson compile -C ../build | |
} | |
package() { | |
cd "i3" | |
DESTDIR="${pkgdir}" meson install -C ../build | |
install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 LICENSE | |
} | |
# vim:set ts=2 sw=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment