termux-packages/x11-packages/xbitmaps/build.sh

18 lines
773 B
Bash
Raw Normal View History

2018-09-10 00:42:26 +02:00
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/
TERMUX_PKG_DESCRIPTION="X.org Bitmap files"
TERMUX_PKG_VERSION=1.1.2
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/data/xbitmaps-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=b9f0c71563125937776c8f1f25174ae9685314cbd130fb4c2efce811981e07ee
TERMUX_PKG_BUILD_DEPENDS="xorg-util-macros"
TERMUX_PKG_NO_DEVELSPLIT=true
termux_step_post_make_install() {
if [ -f "${TERMUX_PREFIX}/share/pkgconfig/xbitmaps.pc" ]; then
mkdir -p "${TERMUX_PREFIX}/lib/pkgconfig" || exit 1
mv -f "${TERMUX_PREFIX}/share/pkgconfig/xbitmaps.pc" "${TERMUX_PREFIX}/lib/pkgconfig/xbitmaps.pc" || exit 1
fi
}