2018-09-10 00:42:26 +02: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 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2021-08-25 12:47:33 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2020-06-22 13:31:39 +02:00
|
|
|
TERMUX_PKG_VERSION=0.26
|
2021-12-12 05:47:06 +01:00
|
|
|
TERMUX_PKG_REVISION=7
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-${TERMUX_PKG_VERSION}.tar.xz
|
2020-06-22 13:31:39 +02:00
|
|
|
TERMUX_PKG_SHA256=b26dbde79ea72c8c84fb7f9d870ffd857381d049a86d25e0038c4cef4c747309
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_DEPENDS="glib"
|
|
|
|
|
|
|
|
termux_step_create_debscripts() {
|
2019-01-21 17:50:21 +01: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-10 00:42:26 +02:00
|
|
|
}
|