termux-packages/x11-packages/xfce4-panel-profiles/build.sh

21 lines
912 B
Bash
Raw Normal View History

2021-05-21 10:04:31 +02:00
TERMUX_PKG_HOMEPAGE=https://docs.xfce.org/apps/xfce4-panel-profiles/start
2021-05-25 13:37:07 +02:00
TERMUX_PKG_DESCRIPTION="A simple application to manage Xfce panel layouts."
2021-05-21 10:04:31 +02:00
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=1.0.13
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://archive.xfce.org/src/apps/xfce4-panel-profiles/${TERMUX_PKG_VERSION:0:3}/xfce4-panel-profiles-$TERMUX_PKG_VERSION.tar.bz2
2021-05-21 10:04:31 +02:00
TERMUX_PKG_SHA256=bc387c13f94109422dc72b0fcb919b0dc11619ba589d03e492252b0d2513b170
TERMUX_PKG_DEPENDS="xfce4-panel, python"
TERMUX_PKG_BUILD_IN_SRC=true
2021-05-25 13:37:07 +02:00
2021-05-21 10:04:31 +02:00
termux_step_configure() {
2021-05-25 14:08:19 +02:00
sed -e s,@prefix@,$TERMUX_PREFIX, Makefile.in.in > Makefile.in
2021-05-21 10:04:31 +02:00
sed \
-e s,@appname@,xfce4-panel-profiles,g \
-e s,@version@,$TERMUX_PKG_VERSION,g \
-e s,@mandir@,$TERMUX_PREFIX/share/man,g \
-e s,@docdir@,$TERMUX_PREFIX/share/doc/xfce4-panel-profiles,g \
2021-05-21 10:04:31 +02:00
-e s,@python@,$TERMUX_PREFIX/bin/python,g \
Makefile.in > Makefile
}