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

19 lines
809 B
Bash
Raw Normal View History

2018-09-10 00:42:26 +02:00
TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/
TERMUX_PKG_DESCRIPTION="X.org Bitmap files"
TERMUX_PKG_LICENSE="MIT"
2019-05-17 00:18:48 +02:00
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
2018-09-10 00:42:26 +02:00
TERMUX_PKG_VERSION=1.1.2
2020-02-24 20:20:50 +01:00
TERMUX_PKG_REVISION=12
2018-09-10 00:42:26 +02:00
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_PLATFORM_INDEPENDENT=true
2018-09-10 00:42:26 +02:00
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
2018-09-10 00:42:26 +02:00
}