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

24 lines
979 B
Bash
Raw Normal View History

2018-09-10 00:42:26 +02:00
TERMUX_PKG_HOMEPAGE=https://www.gnome.org
TERMUX_PKG_DESCRIPTION="GNOME standard icons"
TERMUX_PKG_LICENSE="LGPL-3.0"
2020-05-14 00:01:15 +02:00
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
2020-04-27 15:26:37 +02:00
TERMUX_PKG_VERSION=3.36.1
2020-07-22 20:15:42 +02:00
TERMUX_PKG_REVISION=9
2019-12-22 00:26:46 +01:00
TERMUX_PKG_SRCURL=https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/archive/${TERMUX_PKG_VERSION}/adwaita-icon-theme-${TERMUX_PKG_VERSION}.tar.gz
2020-04-27 15:26:37 +02:00
TERMUX_PKG_SHA256=40a9c7516dd08517a112acee069f63d7929671280ec23b928a9426a5448b97e0
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
2018-09-10 00:42:26 +02:00
}
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"
fi
2018-09-10 00:42:26 +02:00
}