2017-08-19 13:15:15 +02:00
|
|
|
# Template file for 'dav'
|
|
|
|
pkgname=dav
|
2018-02-07 17:58:48 +01:00
|
|
|
version=0.8.8
|
2017-08-19 13:15:15 +02:00
|
|
|
revision=1
|
2018-02-07 17:58:48 +01:00
|
|
|
_commit=a0c93beff76d31ce1a4e199e320aabb1a7f3945c
|
2017-08-19 13:15:15 +02:00
|
|
|
wrksrc="dav-text-dav-text-${version}-${_commit}"
|
|
|
|
build_style=gnu-makefile
|
|
|
|
make_install_args="prefix=${DESTDIR}/usr"
|
|
|
|
makedepends="ncurses-devel"
|
|
|
|
maintainer="cr6git <quark6@protonmail.com>"
|
|
|
|
short_desc="Efficient, small editor for GNU/Linux"
|
|
|
|
homepage="https://gitlab.com/atsb/dav-text"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="https://gitlab.com/atsb/dav-text/repository/dav-text-${version}/archive.tar.gz"
|
2018-02-07 17:58:48 +01:00
|
|
|
checksum=7166875dd1ca7c837b1265f2ec602a9fecb35161bf8ea149dc8e2ed53b46ea25
|
2017-08-19 13:15:15 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|