38 lines
993 B
Bash
38 lines
993 B
Bash
# Template file for 'fribidi'
|
|
pkgname=fribidi
|
|
version=1.0.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="libglib-devel"
|
|
short_desc="Free Implementation of the Unicode Bidirectional Algorithm"
|
|
homepage="http://fribidi.org/"
|
|
license="LGPL-2.1-or-later"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="https://github.com/fribidi/fribidi/archive/v${version}.tar.gz"
|
|
checksum=243d88a45e94facfdd06d51a83849a6256b60f9db0b8d491027bea6a8cabef0b
|
|
disable_parallel_build=yes
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 autoreconf -fi
|
|
}
|
|
|
|
pre_build() {
|
|
if [ -n "$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="${makedepends} fribidi>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share
|
|
}
|
|
}
|