blob: 651311cdfd5c0c95c79c27fc391806c360936e9e (
plain) (
blame)
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
|
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=spectrwm
pkgver=3.3.0
_pkgver=$(printf '%s' "$pkgver" | tr . _)
pkgrel=0
pkgdesc="Small dynamic tiling window manager"
url="https://github.com/conformal/spectrwm"
arch="all"
options="!check" # No test suite.
license="ISC AND MIT"
depends=""
makedepends="libx11-dev libxcursor-dev libxcb-dev xcb-util-keysyms-dev
xcb-util-wm-dev libxft-dev libxt-dev libxrandr-dev bsd-compat-headers"
subpackages="$pkgname-doc"
source="spectrwm-$pkgver.tar.gz::https://github.com/conformal/spectrwm/archive/SPECTRWM_$_pkgver.tar.gz"
builddir="$srcdir/spectrwm-SPECTRWM_$_pkgver"
build() {
CFLAGS="-DSWM_LIB=libswmhack.so" make -C linux PREFIX=/usr
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" -C linux install
for i in screenshot.sh baraction.sh; do
install -Dm755 $i "$pkgdir"/usr/share/spectrwm/$i
done
install -Dm644 spectrwm.conf "$pkgdir"/usr/share/spectrwm/spectrwm.conf
mkdir -p "$pkgdir"/etc/spectrwm
for i in spectrwm_*.conf; do
install -Dm644 $i "$pkgdir"/etc/spectrwm/$i
done
}
sha512sums="743affffd0437641a760ae29ccbd0084baee3354dadc48f3fc9ab70bffa2413ffe3af67f1223413aa1bbf8c679fbae1fbbdd71a840b3e44f5df83b527f63c1cc spectrwm-3.3.0.tar.gz"
|