parent
3361765787
commit
c55bbb2056
|
@ -1,20 +1,24 @@
|
|||
# Template file for 'lowdown'
|
||||
pkgname=lowdown
|
||||
version=0.1.16
|
||||
version=0.3.1
|
||||
revision=1
|
||||
wrksrc="${pkgname}-VERSION_${version//./_}"
|
||||
build_style=gnu-makefile
|
||||
make_install_args="MANDIR=/usr/share/man"
|
||||
configure_args="PREFIX=/usr MANDIR=/usr/share/man"
|
||||
build_style=configure
|
||||
short_desc="Simple markdown translator"
|
||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="ISC"
|
||||
homepage="https://kristaps.bsd.lv/lowdown/"
|
||||
distfiles="https://github.com/kristapsdz/lowdown/archive/VERSION_${version//./_}.tar.gz"
|
||||
checksum=942170f6469993b0d50cd3d03ecfbc859ca4c994925d0b779ffea6ba66eb316f
|
||||
checksum=af1fe2904dd543e46ff2b19ccd601df053986f3913d5abf68ac9c62da50754ec
|
||||
|
||||
pre_build() {
|
||||
sed -i -e 's/\($(CC) -o \$@ .*\)$/\1 $(LDFLAGS)/' Makefile
|
||||
cat >> Makefile.configure <<-EOF
|
||||
CFLAGS += ${CFLAGS}
|
||||
LDFLAGS += ${LDFLAGS}
|
||||
EOF
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.md
|
||||
}
|
||||
|
@ -25,5 +29,6 @@ lowdown-devel_package() {
|
|||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/share/man/man3/*.3"
|
||||
}
|
||||
}
|
||||
|
|
4
srcpkgs/lowdown/update
Normal file
4
srcpkgs/lowdown/update
Normal file
|
@ -0,0 +1,4 @@
|
|||
# This pattern is incomplete, it finds out the versions like '0_3_1' but
|
||||
# comparison with 'xbps-uhelper cmpver' results in it being always treated
|
||||
# as a lower version
|
||||
pattern="VERSION_\K[\d_]+"
|
Loading…
Reference in New Issue
Block a user