#!/bin/mkpkg
# description: Direcotry editor
# url: https://invisible-island.net/ded/

name=ded
version=20250928
release=1
depends=(ncurses)
source=(https://invisible-island.net/archives/ded/$name-$version.tgz
        https://invisible-island.net/archives/ded/td_lib-$version.tgz)

sha256sums=(
    "b5bfb0850a70f3b1e64c9736e73d00788442bfc4c273b5b3d13f68f454a8c530"
    "8854186a30eb4fd842397f54afe9309bfa53607bf60a9cf8e0b2a6b7231a35a3"
)

build() {
    cd td_lib-$version
    ./configure --prefix=/usr
    make -j1

    cd $SRC/$name-$version
    ./configure --prefix=/usr
    make -j1
    make -j1 DESTDIR=$PKG install
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh
