termux-packages/x11-packages/iso-codes/build.sh

20 lines
843 B
Bash
Raw Normal View History

2019-08-14 00:12:38 +02:00
TERMUX_PKG_HOMEPAGE=https://salsa.debian.org/iso-codes-team/iso-codes
TERMUX_PKG_DESCRIPTION="Lists of the country, language, and currency names"
TERMUX_PKG_LICENSE="LGPL-2.1"
2020-05-14 00:01:15 +02:00
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
2020-06-03 21:47:39 +02:00
TERMUX_PKG_VERSION=4.5.0
2020-12-08 13:53:24 +01:00
TERMUX_PKG_REVISION=5
2019-08-20 19:24:10 +02:00
TERMUX_PKG_SRCURL=https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/iso-codes-$TERMUX_PKG_VERSION/iso-codes-iso-codes-$TERMUX_PKG_VERSION.tar.gz
2020-06-03 21:47:39 +02:00
TERMUX_PKG_SHA256=94b53580571a9ea47ea00fa476614f506083517195be1ba26faadb4813855b95
2019-08-14 00:12:38 +02:00
TERMUX_PKG_PLATFORM_INDEPENDENT=true
#If you install ISO codes over a previous installed version, the install step will fail when creating some symlinks
termux_step_post_configure() {
sed -i '/^LN_S/s/s/sfvn/' */Makefile
}
termux_step_make_install() {
make pkgconfigdir=$TERMUX_PREFIX/lib/pkgconfig install
}