blob: e52d2565377a1d5c3a7b022fa5c4bcb8e6906a7c (
plain) (
tree)
|
|
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=spectrwm
pkgver=3.4.1
_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="94d468833124b51fa12b29b173126f10f27dd551d599459e4bea589721b3df6f1f0af0ea67326ed3ad462e1203d3bbcb82032ff83abfa0943ec45afd29dedaa6 spectrwm-3.4.1.tar.gz"
|