new package: xfce4-dev-tools

This commit is contained in:
Tee KOBAYASHI 2022-05-04 10:23:39 +09:00 committed by xtkoba
parent a76ca2ae4d
commit 1754e30e09
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,24 @@
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,8 +11,7 @@
helpers \
m4macros \
scripts \
- xdt-csource \
- tests
+ xdt-csource
distclean-local:
rm -rf *.cache *~
--- a/Makefile.in
+++ b/Makefile.in
@@ -340,8 +340,7 @@
helpers \
m4macros \
scripts \
- xdt-csource \
- tests
+ xdt-csource
EXTRA_DIST = \
HACKING \

View File

@ -0,0 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://gitlab.xfce.org/xfce/xfce4-dev-tools
TERMUX_PKG_DESCRIPTION="A collection of tools and macros for Xfce developers"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
_MAJOR_VERSION=4.17
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.0
TERMUX_PKG_SRCURL=https://archive.xfce.org/src/xfce/xfce4-dev-tools/${_MAJOR_VERSION}/xfce4-dev-tools-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=d334c1f10e140e666b86c6c3bd8dcd62f1a877f537bcacc974478b6e92c493c7
TERMUX_PKG_DEPENDS="glib"

View File

@ -0,0 +1,11 @@
--- a/scripts/xdt-autogen.in
+++ b/scripts/xdt-autogen.in
@@ -164,7 +164,7 @@
## Determine XDG data dirs
##
test -z "${XDG_DATA_HOME}" && XDG_DATA_HOME="${HOME}/.local/share"
-test -z "${XDG_DATA_DIRS}" && XDG_DATA_DIRS="/usr/local/share:/usr/share"
+test -z "${XDG_DATA_DIRS}" && XDG_DATA_DIRS="@TERMUX_PREFIX@/local/share:@TERMUX_PREFIX@/share"
test -d "@datadir@" && XDG_DATA_DIRS="@datadir@:${XDG_DATA_DIRS}"
XDG_DATA_DIRS="${XDG_DATA_HOME}:${XDG_DATA_DIRS}"
export XDG_DATA_DIRS XDG_DATA_HOME