New package: sblg-0.4.13

resolves #14804
This commit is contained in:
John 2018-05-31 00:00:08 +02:00 committed by maxice8
parent df4bf5e33b
commit 93618dfbc4
2 changed files with 37 additions and 0 deletions

36
srcpkgs/sblg/template Normal file
View File

@ -0,0 +1,36 @@
# Template file for 'sblg'
pkgname=sblg
version=0.4.13
revision=1
build_style=configure
configure_args="PREFIX=/usr MANDIR=/usr/share/man"
makedepends="expat-devel"
short_desc="Simple off-line blog utility"
maintainer="John <johnz@posteo.net>"
license="ISC"
changelog="https://kristaps.bsd.lv/sblg/archive.html"
homepage="https://kristaps.bsd.lv/sblg/"
distfiles="https://kristaps.bsd.lv/sblg/snapshots/${pkgname}-${version}.tar.gz"
checksum=e2f00ad3e14501e16b1ac4891c12fdd48ad29c1fc7242b177c57ca7205ecdc89
pre_configure() {
if [ "$CROSS_BUILD" ]; then
case $XBPS_TARGET_MACHINE in
*-musl) echo HAVE___PROGNAME=true HAVE_ERR=1 HAVE_MEMMEM=1\
HAVE_MEMCHR=1 HAVE_PROGRAM_INVOCATION_SHORT_NAME=1\
HAVE_SECCOMP_FILTER=1 HAVE_SOCK_NONBLOCK=1\
HAVE_STRLCAT=1 HAVE_STRCPY=1\
> configure.local;;
*) echo HAVE___PROGNAME=true HAVE_ERR=1 HAVE_MEMMEM=1\
HAVE_MEMCHR=1 HAVE_PROGRAM_INVOCATION_SHORT_NAME=1\
HAVE_SECCOMP_FILTER=1 HAVE_SOCK_NONBLOCK=1\
HAVE_EXPLICIT_BZERO=1\
> configure.local;;
esac
fi
}
post_install() {
head -n16 article.c > COPYING
vlicense COPYING
}

1
srcpkgs/sblg/update Normal file
View File

@ -0,0 +1 @@
ignore=".tar.gz.sha512\">sblg"