New package: lowdown-0.1.16
This commit is contained in:
parent
21e357c97c
commit
877266aecf
2 changed files with 30 additions and 0 deletions
1
srcpkgs/lowdown-devel
Symbolic link
1
srcpkgs/lowdown-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
lowdown
|
29
srcpkgs/lowdown/template
Normal file
29
srcpkgs/lowdown/template
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Template file for 'lowdown'
|
||||||
|
pkgname=lowdown
|
||||||
|
version=0.1.16
|
||||||
|
revision=1
|
||||||
|
wrksrc="${pkgname}-VERSION_${version//./_}"
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_install_args="MANDIR=/usr/share/man"
|
||||||
|
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
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i -e 's/\($(CC) -o \$@ .*\)$/\1 $(LDFLAGS)/' Makefile
|
||||||
|
}
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.md
|
||||||
|
}
|
||||||
|
|
||||||
|
lowdown-devel_package() {
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove "usr/lib/*.a"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue