1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-14 01:06:39 +00:00
termux-packages/x11-packages/iso-codes/build.sh
2022-04-18 14:41:48 +05:30

20 lines
841 B
Bash

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"
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
TERMUX_PKG_VERSION=4.4
TERMUX_PKG_REVISION=8
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
TERMUX_PKG_SHA256=ff7c0d28975dc83e8975c1c815d3bb7371a4130ae90e3dc93508de2bf1939010
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
}