#!/bin/sh
#
# Copyright 2026 Sasa Ostrouska <saxa@droplinegnome.org> 
# Available under the terms of the GNU GPL.
#

NAME="casilda"
VERSION="1.0.0"
REVISION="2"

PKG_SOURCEURL='https://gitlab.gnome.org/jpu/${NAME}/-/archive/${VERSION}/${NAME}-${VERSION}.tar.gz'
PKG_PATCH[0]='casilda-wlroots-0_19.patch'

. $DLG_ROOT/etc/config
. $DLG_ROOT/lib/dl-base

cflags
cxxflags
prepare

applypatch 0 1

analyzesource
configure
make
makeinstall
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
