diff --git a/disabled-packages/abuild/Makefile.patch b/disabled-packages/abuild/Makefile.patch new file mode 100644 index 000000000..0e811201c --- /dev/null +++ b/disabled-packages/abuild/Makefile.patch @@ -0,0 +1,11 @@ +diff -u -r ../abuild-3.2.0/Makefile ./Makefile +--- ../abuild-3.2.0/Makefile 2018-06-22 07:24:10.000000000 +0000 ++++ ./Makefile 2018-11-18 01:32:10.950452195 +0000 +@@ -95,7 +95,6 @@ + for i in $(USR_BIN_FILES); do\ + install -m 755 $$i $(DESTDIR)/$(bindir)/$$i;\ + done +- chmod 4111 $(DESTDIR)/$(prefix)/bin/abuild-sudo + for i in adduser addgroup apk; do \ + ln -fs abuild-sudo $(DESTDIR)/$(bindir)/abuild-$$i; \ + done diff --git a/disabled-packages/abuild/build.sh b/disabled-packages/abuild/build.sh new file mode 100644 index 000000000..677b8ff1f --- /dev/null +++ b/disabled-packages/abuild/build.sh @@ -0,0 +1,8 @@ +TERMUX_PKG_HOMEPAGE=https://github.com/alpinelinux/abuild +TERMUX_PKG_DESCRIPTION="Build script to build Alpine packages" +TERMUX_PKG_VERSION=3.2.0 +TERMUX_PKG_SHA256=45b26674ca416e71612ff7924169a890a2cc45e945ecca33bc382f98e9ec3eb7 +TERMUX_PKG_SRCURL=https://github.com/alpinelinux/abuild/archive/v$TERMUX_PKG_VERSION.tar.gz +TERMUX_PKG_DEPENDS="openssl" +TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_EXTRA_MAKE_ARGS="sysconfdir=$TERMUX_PREFIX/etc"