termux-packages/x11-packages/azpainter/build.sh

23 lines
920 B
Bash
Raw Normal View History

2019-12-30 17:20:58 +01:00
TERMUX_PKG_HOMEPAGE=https://github.com/Symbian9/azpainter
TERMUX_PKG_DESCRIPTION="Full color painting software for Unix-like systems for illustration drawing (unofficial)"
TERMUX_PKG_LICENSE="GPL-3.0"
2020-05-14 00:01:15 +02:00
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
2020-04-27 15:28:51 +02:00
TERMUX_PKG_VERSION=1:2.1.6
2021-03-01 11:26:06 +01:00
TERMUX_PKG_REVISION=12
2020-04-27 15:28:51 +02:00
TERMUX_PKG_SRCURL=https://github.com/Symbian9/azpainter/releases/download/v${TERMUX_PKG_VERSION:2}/azpainter-${TERMUX_PKG_VERSION:2}.tar.xz
TERMUX_PKG_SHA256=85f3f935e76b420f2e5e272514368fdfbe4c25c01daa1e161ac28a6e1edb0d2c
2019-12-30 17:20:58 +01:00
TERMUX_PKG_DEPENDS="fontconfig, hicolor-icon-theme, libandroid-shmem, libjpeg-turbo, libxfixes, libxi"
TERMUX_PKG_BUILD_IN_SRC=true
2020-12-11 15:54:49 +01:00
TERMUX_PKG_RM_AFTER_INSTALL="
share/icons/hicolor/icon-theme.cache
"
2020-04-27 16:24:38 +02:00
termux_step_configure() {
sed -i "s/LDFLAGS :=/LDFLAGS +=/" Makefile.in
2020-04-27 16:24:38 +02:00
./configure --prefix="$TERMUX_PREFIX" \
CC="$CC" \
CFLAGS="$CFLAGS" \
LIBS="-landroid-shmem"
}