summaryrefslogtreecommitdiff
path: root/localports/dwl/APKBUILD
blob: 764a5403a9a781de814729e9e1f8044f3e383c7a (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
35
36
# Maintainer: Sam Nystrom <sam@samnystrom.dev>
pkgname=dwl
pkgver=0.4
pkgrel=0
pkgdesc="dwm for wayland"
url="https://github.com/djpohly/dwl"
arch="all"
license="GPL-3.0-or-later"
makedepends="wlroots-dev wayland-protocols"
options="!check" # no tests
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/djpohly/dwl/archive/refs/tags/v$pkgver.tar.gz
	xwayland.patch
	swallow.patch
	config.h
	"

prepare() {
	default_prepare
	cp "$srcdir"/config.h "$builddir"/config.def.h
}

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
6e15e05001e6469d13bef2d532980585d57de55c8feb461a7c25a76d7cdaee022785485faca02cd9d1214457fbeb1bec0eb652700ba0ddccca4aa780df0046b2  dwl-0.4.tar.gz
7c7952ede929faa137f690b3d1f44c1af4b40a3a6dac7bc3d5a377c8c454b35de1becdbbd1f3cbbde56c798f4f3bf78bc7eef4d7faa0e761d317179c072c629f  xwayland.patch
9429d836ac66670616f91004108c1b682f01e8d477318b82037e7b5d94fc01593b662fc5970911931046173eecacdc4d3a36d8f598ad76d286df862e4d23f4d6  swallow.patch
d49469a143ced21eeb80310e95d0d555539589f4b1847b854e6ee49b58f7879391b7cf248c8812ceb11fc4e2a4d83dcbd24d796174ecc126b54493b3f5db7058  config.h
"