28 lines
764 B
Bash
28 lines
764 B
Bash
# Template file for 'dav'
|
|
pkgname=dav
|
|
version=0.9.0
|
|
revision=1
|
|
wrksrc="dav-text-dav-text-${version}"
|
|
build_style=gnu-makefile
|
|
make_install_args="prefix=${DESTDIR}/usr"
|
|
makedepends="ncurses-devel"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
short_desc="Efficient, small editor for GNU/Linux"
|
|
homepage="https://github.com/atsb/dav-text"
|
|
license="GPL-2.0-or-later"
|
|
distfiles="https://github.com/atsb/dav-text/archive/dav-text-${version}.tar.gz"
|
|
checksum=deaf954641a16b5a13ae8c36ea09d8710d6a02ed0a8231026c3c20fb5525c7a9
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
pre_configure() {
|
|
# fix for env LDFLAGS
|
|
sed -i '/^LDFLAGS/d' Makefile
|
|
sed -i 's/$(CC)/$(CC) -lncurses/' Makefile
|
|
}
|
|
|
|
post_install() {
|
|
# remove executable bits from man page
|
|
chmod -x ${DESTDIR}/usr/share/man/man1/dav.1.gz
|
|
}
|