termux-packages/x11-packages/adwaita-icon-theme/build.sh

24 lines
947 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://www.gnome.org
TERMUX_PKG_DESCRIPTION="Freedesktop.org Hicolor icon theme"
2018-09-28 15:55:57 +02:00
TERMUX_PKG_VERSION=3.30.0
TERMUX_PKG_REVISION=1
2018-09-10 00:42:26 +02:00
TERMUX_PKG_SRCURL=https://github.com/GNOME/adwaita-icon-theme/archive/${TERMUX_PKG_VERSION}.tar.gz
2018-09-28 15:55:57 +02:00
TERMUX_PKG_SHA256=14b70916d763f841865c295b4d6dd0aebba6f0829a29c019348d0f775178aeba
2018-09-10 00:42:26 +02:00
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_DEPENDS="hicolor-icon-theme"
TERMUX_PKG_RM_AFTER_INSTALL="share/icons/Adwaita/icon-theme.cache"
2018-09-10 00:42:26 +02:00
termux_step_pre_configure() {
autoreconf -fvi
}
termux_step_post_make_install() {
# fix location of adwaita-icon-theme.pc
if [ -f "${TERMUX_PREFIX}/share/pkgconfig/adwaita-icon-theme.pc" ]; then
mkdir -p "${TERMUX_PREFIX}/lib/pkgconfig"
mv -f "${TERMUX_PREFIX}/share/pkgconfig/adwaita-icon-theme.pc" "${TERMUX_PREFIX}/lib/pkgconfig/adwaita-icon-theme.pc"
2018-09-10 00:42:26 +02:00
fi
}