termux-packages/x11-packages/shared-mime-info/build.sh

16 lines
711 B
Bash
Raw Normal View History

2018-09-10 00:42:26 +02:00
TERMUX_PKG_HOMEPAGE=https://freedesktop.org/Software/shared-mime-info
TERMUX_PKG_DESCRIPTION="Freedesktop.org Shared MIME Info"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
2021-02-09 21:01:01 +01:00
TERMUX_PKG_VERSION=2.1
TERMUX_PKG_REVISION=6
2020-12-08 12:21:22 +01:00
TERMUX_PKG_SRCURL=https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/${TERMUX_PKG_VERSION}/shared-mime-info-${TERMUX_PKG_VERSION}.tar.gz
2021-02-09 21:01:01 +01:00
TERMUX_PKG_SHA256=3aeeee25ad445f257f614ed53837dee79fab70524b56e59b767f0d69e11fdff9
2018-09-10 00:42:26 +02:00
TERMUX_PKG_DEPENDS="coreutils, glib, libxml2"
termux_step_create_debscripts() {
2018-09-10 00:42:26 +02:00
cp "${TERMUX_PKG_BUILDER_DIR}/postinst" ./postinst
cp "${TERMUX_PKG_BUILDER_DIR}/postrm" ./postrm
cp "${TERMUX_PKG_BUILDER_DIR}/triggers" ./triggers
}