Skip to content

Commit

Permalink
new packages to gpkg
Browse files Browse the repository at this point in the history
gpkg/bash-completion
gpkg/pam
gpkg/util-linux
gpkg/e2fsprogs
gpkg/libevent
gpkg/krb5
gpkg/libverto
gpkg/libcurl
  • Loading branch information
Maxython committed Sep 11, 2023
1 parent 4e0cdd2 commit cb25a78
Show file tree
Hide file tree
Showing 22 changed files with 1,533 additions and 0 deletions.
12 changes: 12 additions & 0 deletions gpkg/bash-completion/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
TERMUX_PKG_HOMEPAGE=https://github.com/scop/bash-completion
TERMUX_PKG_DESCRIPTION="Programmable completion for the bash shell"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux-pacman"
TERMUX_PKG_VERSION=2.11
TERMUX_PKG_SRCURL=https://github.com/scop/bash-completion/releases/download/${TERMUX_PKG_VERSION}/bash-completion-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=73a8894bad94dee83ab468fa09f628daffd567e8bef1a24277f1e9a0daf911ac
TERMUX_PKG_DEPENDS="bash-glibc"
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_RM_AFTER_INSTALL="
share/bash-completion/completions/makepkg
"
13 changes: 13 additions & 0 deletions gpkg/bash-completion/completions-man.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff -uNr bash-completion-2.9/completions/man bash-completion-2.9.mod/completions/man
--- bash-completion-2.9/completions/man 2019-04-27 11:54:49.000000000 +0300
+++ bash-completion-2.9.mod/completions/man 2019-05-02 15:36:06.454990217 +0300
@@ -51,8 +51,7 @@
return
fi

- local manpath=$(manpath 2>/dev/null || command man -w 2>/dev/null)
- [[ -z $manpath ]] && manpath="/usr/share/man:/usr/local/share/man"
+ local manpath="@TERMUX_PREFIX@/share/man"

# determine manual section to search
local sect
31 changes: 31 additions & 0 deletions gpkg/e2fsprogs/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
TERMUX_PKG_HOMEPAGE=https://e2fsprogs.sourceforge.net
TERMUX_PKG_DESCRIPTION="EXT 2/3/4 filesystem utilities"
TERMUX_PKG_LICENSE="GPL-2.0, LGPL-2.0"
TERMUX_PKG_LICENSE_FILE="NOTICE"
TERMUX_PKG_MAINTAINER="@termux-pacman"
TERMUX_PKG_VERSION=1.47.0
TERMUX_PKG_SRCURL=https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v$TERMUX_PKG_VERSION/e2fsprogs-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=144af53f2bbd921cef6f8bea88bb9faddca865da3fbc657cc9b4d2001097d5db
TERMUX_PKG_CONFFILES="glibc/etc/mke2fs.conf"
TERMUX_PKG_NO_STATICSPLIT=true
TERMUX_PKG_DEPENDS="libblkid-glibc, libuuid-glibc, bash-glibc"

TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--sbindir=${TERMUX_PREFIX}/bin
--with-crond_dir=${TERMUX_PREFIX}/etc/cron.d
--enable-symlink-install
--enable-symlink-build
--enable-relative-symlinks
--enable-elf-shlibs
--disable-fsck
--disable-uuidd
--disable-libuuid
--disable-libblkid
"

termux_step_make_install() {
make install install-libs
install -Dm600 \
"$TERMUX_PKG_SRCDIR"/misc/mke2fs.conf.in \
"$TERMUX_PREFIX"/etc/mke2fs.conf
}
Loading

0 comments on commit cb25a78

Please sign in to comment.