aboutsummaryrefslogblamecommitdiffstats
path: root/community/sxmo-dwm/APKBUILD
blob: ea949705ad6987acc555babf3d15a1eae959aff2 (plain) (tree)
1
2
3
4
                                           
                                                      
                
             






























                                                                                                   
            
                                                                                                                                                        
 
# Maintainer: Anjandev Momi <anjan@momi.ca>
# Contributor: Maarten van Gompel <proycon@anaproy.nl>
pkgname=sxmo-dwm
pkgver=6.2.15
pkgrel=0
pkgdesc="Dwm fork for Sxmo UI; supports volume-key hotkeys, swallow, keyboard, among other patches"
url="https://git.sr.ht/~mil/sxmo-dwm"
arch="all"
license="MIT"
depends="xorg-server"
makedepends="libxft-dev libx11-dev libxinerama-dev"
subpackages="$pkgname-doc"
provides="dwm"
options="!check" # has no tests
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~mil/sxmo-dwm/archive/$pkgver.tar.gz"

prepare() {
	default_prepare
	sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \
		-e '/LDFLAGS/{s/=/+=/}' \
		"$builddir"/config.mk
}

build() {
	make X11INC=/usr/include/X11 \
		X11LIB=/usr/lib/X11 \
		FREETYPEINC=/usr/include/freetype2 \
		-C "$builddir"
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" \
		-C "$builddir" install
}

sha512sums="
a92eded8ca829b866f268d9d62980242a029c17febdf1a89d4944fc53f2da374e02e5a1255164aebaf6abf1d53278495e28fae38b2502328b814e27b849c5057  sxmo-dwm-6.2.15.tar.gz
"