mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
parent
dcb294b02f
commit
40d43a3945
1 changed files with 26 additions and 0 deletions
26
srcpkgs/dav/template
Normal file
26
srcpkgs/dav/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'dav'
|
||||||
|
pkgname=dav
|
||||||
|
version=0.8.6
|
||||||
|
revision=1
|
||||||
|
_commit=04046b22fe561ee40c3f311e20e911c0d656981f
|
||||||
|
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"
|
||||||
|
checksum=d9ac3991621c0799e813277b87e0a9e666c92041c1e257c9b351a8db62956ee8
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue