void-packages/srcpkgs/fribidi/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

38 lines
1,005 B
Bash

# Template file for 'fribidi'
pkgname=fribidi
version=1.0.5
revision=1
build_style=gnu-configure
configure_args="--disable-docs"
hostmakedepends="automake libtool pkg-config"
short_desc="Free Implementation of the Unicode Bidirectional Algorithm"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/fribidi/fribidi/"
distfiles="https://github.com/fribidi/fribidi/archive/v${version}.tar.gz"
checksum=aee3a93d081c293eaca9157700f17dc780a0b6674bc911decc5aaa43aec9abd7
disable_parallel_build=yes
pre_configure() {
NOCONFIGURE=1 autoreconf -fi
}
pre_build() {
if [ "$CROSS_BUILD" ]; then
sed -i gen.tab/Makefile \
-e "s;^\(CC =\) .*;\1 cc;" \
-e "s;^\(CFLAGS =\) .*;\1 -O2 -pipe;" \
-e "s;^\(LDFLAGS =\) .*;\1 -s;"
fi
}
fribidi-devel_package() {
depends="fribidi>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}