blob: 76125ebfb9a85d58d9fac00c0a04042c011df0c8 (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@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"
|