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 670345b
Show file tree
Hide file tree
Showing 27 changed files with 1,541 additions and 2 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
1 change: 1 addition & 0 deletions gpkg/brotli/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="lossless compression algorithm and format (command line
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux-pacman"
TERMUX_PKG_VERSION=1.0.9
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/google/brotli/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46
TERMUX_PKG_DEPENDS="glibc, gcc-glibc-libs-dev"
Expand Down
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 670345b

Please sign in to comment.