new package: jcal
This commit is contained in:
parent
4f3f1ee43f
commit
65c283daac
20
packages/jcal/build.sh
Normal file
20
packages/jcal/build.sh
Normal file
@ -0,0 +1,20 @@
|
||||
TERMUX_PKG_HOMEPAGE="http://nongnu.org/jcal"
|
||||
TERMUX_PKG_DESCRIPTION="UNIX-cal-like tool to display Jalali (Persian/Iranian) calendar"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.4.1
|
||||
TERMUX_PKG_SRCURL="https://github.com/persiancal/jcal/archive/v$TERMUX_PKG_VERSION.tar.gz"
|
||||
TERMUX_PKG_SHA256=b55edc605eda0a5b25b8009391dcaeb3c8ba88d1fb3337a071f555983a114c12
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_pre_configure() {
|
||||
cd sources
|
||||
./autogen.sh
|
||||
sed --in-place 's/$RM "$cfgfile"/$RM -f "$cfgfile"/g' configure
|
||||
TERMUX_PKG_SRCDIR+="/sources"
|
||||
}
|
||||
|
||||
termux_step_post_configure() {
|
||||
# removing tests
|
||||
sed --in-place 's/test_kit//g' sources/Makefile.am
|
||||
}
|
Loading…
Reference in New Issue
Block a user