2018-09-09 22:42:26 +00:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.freedesktop.org/wiki/Software/desktop-file-utils
|
|
|
|
TERMUX_PKG_DESCRIPTION="Command line utilities for working with desktop entries"
|
2019-01-21 16:50:21 +00:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2021-08-25 10:47:33 +00:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2023-10-15 20:38:10 +00:00
|
|
|
TERMUX_PKG_VERSION="0.27"
|
2018-09-09 22:42:26 +00:00
|
|
|
TERMUX_PKG_SRCURL=https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-${TERMUX_PKG_VERSION}.tar.xz
|
2023-10-15 20:38:10 +00:00
|
|
|
TERMUX_PKG_SHA256=a0817df39ce385b6621880407c56f1f298168c040c2032cedf88d5b76affe836
|
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2018-09-09 22:42:26 +00:00
|
|
|
TERMUX_PKG_DEPENDS="glib"
|
|
|
|
|
|
|
|
termux_step_create_debscripts() {
|
2019-01-21 16:50:21 +00:00
|
|
|
for i in postinst postrm triggers; do
|
|
|
|
sed \
|
|
|
|
"s|@TERMUX_PREFIX@|${TERMUX_PREFIX}|g" \
|
|
|
|
"${TERMUX_PKG_BUILDER_DIR}/hooks/${i}.in" > ./${i}
|
|
|
|
chmod 755 ./${i}
|
|
|
|
done
|
|
|
|
unset i
|
|
|
|
chmod 644 ./triggers
|
2018-09-09 22:42:26 +00:00
|
|
|
}
|