blob: 3db146bf8068f6642b9f0403ca9280498e9008be (
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
|
# Maintainer:
# Contributor: Kyle Keen <keenerd@gmail.com>
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
pkgname=spectrwm
pkgver=3.6.0
_pkgver="${pkgname^^}_${pkgver//./_}"
pkgrel=1
pkgdesc='A small, dynamic tiling and reparenting window manager for X11'
arch=('x86_64')
url='https://github.com/conformal/spectrwm'
license=('ISC')
depends=('bash' 'fontconfig' 'glibc' 'libbsd' 'libx11' 'libxcb' 'libxcursor' 'libxft' 'xcb-util' 'xcb-util-keysyms' 'xcb-util-wm')
makedepends=('libxt')
replaces=('scrotwm')
backup=(etc/spectrwm.conf)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${_pkgver}.tar.gz")
sha256sums=('49854c5215475d2450d2558da12a3afe9019861170ba9d556c8b403d4d66f0d1')
prepare() {
cd "${pkgname}-${_pkgver}"
sed -i 's|/usr/local/lib/|/usr/lib/|' spectrwm.c
}
build() {
cd "${pkgname}-${_pkgver}/linux"
make PREFIX='/usr'
}
package() {
cd "${pkgname}-${_pkgver}/linux"
make PREFIX='/usr' SYSCONFDIR='/etc' DESTDIR="${pkgdir}" install
install -Dm644 ../LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|