upg archlinux-keyring btrfs-progs jobo-setup mspr pambase pcre2
add add-gfx script for labwc & X11 ob/jwm joborun-zsh
This commit is contained in:
parent
2099a87871
commit
9f8198ce32
31 changed files with 758 additions and 155 deletions
|
@ -6,7 +6,7 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=archlinux-keyring
|
||||
pkgver=20240520
|
||||
pkgver=20240609
|
||||
pkgrel=01
|
||||
pkgdesc='Arch Linux PGP keyring'
|
||||
url='https://gitlab.archlinux.org/archlinux/archlinux-keyring/'
|
||||
|
@ -54,7 +54,7 @@ validpgpkeys=('02FD1C7A934E614545849F19A6234074498E9CEE' # Christian Hesse <ewo
|
|||
'E240B57E2C4630BA768E2F26FC1B547C8D8172C8' # Levente Polyak <anthraxx@archlinux.org>
|
||||
'C100346676634E80C940FB9E9C02FF419FECBE16') # Morten Linderud <foxboron@archlinux.org>
|
||||
|
||||
sha256sums=(0f72b1d10973c1d99d08074516efe0d4c65d9f5e02d1712f96677c611c9bdd08) # archlinux-keyring
|
||||
sha256sums=(96c75faa5b6fd8a418848366244f976810627a219ae47ce52648ac38fa83a687) # archlinux-keyring
|
||||
|
||||
## bf946bb6afce937280b0be2156389022d353b2772e4e720831c6e5af8c4ad60e archlinux-keyring-20240520-01-x86_64.pkg.tar.lz
|
||||
## baeba40cecaeb9ce8d5caf223b87f4e11b520cb90730372ccbf4e999bc9e73f5 archlinux-keyring-20240609-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
|
||||
pkgname=archlinux-keyring
|
||||
pkgver=20240520
|
||||
pkgver=20240609
|
||||
pkgrel=1
|
||||
pkgdesc='Arch Linux PGP keyring'
|
||||
arch=('any')
|
||||
|
@ -13,7 +13,7 @@ depends=('pacman')
|
|||
makedepends=('git' 'python' 'sequoia-sq' 'pkgconf' 'systemd')
|
||||
checkdepends=('python-coverage' 'python-pytest')
|
||||
source=("archlinux-keyring::git+https://gitlab.archlinux.org/archlinux/archlinux-keyring.git#tag=${pkgver}?signed")
|
||||
sha256sums=('0f72b1d10973c1d99d08074516efe0d4c65d9f5e02d1712f96677c611c9bdd08')
|
||||
sha256sums=('96c75faa5b6fd8a418848366244f976810627a219ae47ce52648ac38fa83a687')
|
||||
validpgpkeys=('02FD1C7A934E614545849F19A6234074498E9CEE' # Christian Hesse <eworm@archlinux.org>
|
||||
'C7E7849466FE2358343588377258734B41C31549' # David Runge <dvzrv@archlinux.org>
|
||||
'4AA4767BBC9C4B1D18AE28B77F2D434B9741E8AC' # Pierre Schmitz <pierre@archlinux.org>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=btrfs-progs
|
||||
pkgver=6.8.1
|
||||
pkgver=6.9
|
||||
pkgrel=01
|
||||
pkgdesc='Btrfs filesystem utilities w/o systemd'
|
||||
makedepends=('asciidoc' 'xmlto' 'python' 'python-setuptools' 'e2fsprogs'
|
||||
|
@ -72,11 +72,10 @@ license=('GPL-2.0-only')
|
|||
|
||||
validpgpkeys=('F2B41200C54EFB30380C1756C565D5F9D76D583B')
|
||||
|
||||
sha256sums=(0e40a068a26c2969cb02a95ba9fef888d7a6356e3f457ff92ad2477d08735678 # btrfs-progs-v6.8.1.tar.xz
|
||||
0af0e663406c88806667c6834989cd1e7dc1213c8d05104f205aa847fba46b6b # btrfs-progs-v6.8.1.tar.sign
|
||||
sha256sums=(7e14a5d597f323dd7d1b453e3a4e661a7e9f07ea060efbff4f76ff8315917de8 # btrfs-progs-v6.9.tar.xz
|
||||
285eabdedadaace3089eb46aaab309180a666c1ec07941ff1c643f3d5262b1d5 # btrfs-progs-v6.9.tar.sign
|
||||
bbe60b35d1b1e2efc1308a8f54f1fdc6808240a81c5f5b4d75321b7ee86e41f4 # initcpio-install-btrfs
|
||||
35efeee8590d6d60c711ae9cdc918e4841ab61d10cb02359e65e36ebff95ffc5) # initcpio-hook-btrfs
|
||||
|
||||
|
||||
## e2fd648b15c96984f9bf1d50eb6913c3be9936fda2279896e41d23e93a15f36f btrfs-progs-6.8.1-01-x86_64.pkg.tar.lz
|
||||
## 03f6747c8340ea1ccdde5a2c69d8869f2d80cc2b1943d4c4570ca8bf305956a7 btrfs-progs-6.9-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
pkgname=btrfs-progs
|
||||
pkgver=6.8.1
|
||||
pkgver=6.9
|
||||
pkgrel=1
|
||||
pkgdesc='Btrfs filesystem utilities'
|
||||
arch=('x86_64')
|
||||
|
@ -28,7 +28,7 @@ source=("https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-
|
|||
install=btrfs-progs.install
|
||||
options=(!staticlibs)
|
||||
sha256sums=('SKIP'
|
||||
'0e40a068a26c2969cb02a95ba9fef888d7a6356e3f457ff92ad2477d08735678'
|
||||
'7e14a5d597f323dd7d1b453e3a4e661a7e9f07ea060efbff4f76ff8315917de8'
|
||||
'bbe60b35d1b1e2efc1308a8f54f1fdc6808240a81c5f5b4d75321b7ee86e41f4'
|
||||
'35efeee8590d6d60c711ae9cdc918e4841ab61d10cb02359e65e36ebff95ffc5'
|
||||
'eaa7af92d28bfa8940bb551560fd7be777f9f175292eaa72b5f6ef00fb240252'
|
||||
|
|
|
@ -5,11 +5,10 @@
|
|||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
#pkgbase=glib2
|
||||
#pkgname=(glib2 glib2-docs)
|
||||
pkgname=glib2
|
||||
pkgver=2.80.2
|
||||
pkgrel=02
|
||||
pkgbase=glib2
|
||||
pkgname=(glib2 glib2-devel) # glib2-docs)
|
||||
pkgver=2.80.3
|
||||
pkgrel=01
|
||||
pkgdesc="Low level core library"
|
||||
#url="https://wiki.gnome.org/Projects/GLib"
|
||||
url="https://gitlab.gnome.org/GNOME/glib"
|
||||
|
@ -20,14 +19,13 @@ checkdepends=(desktop-file-utils glib2)
|
|||
#options=(debug staticlibs) ### uncomment this to have the debug pkg produced
|
||||
options=(staticlibs)
|
||||
# _commit=763cc3b238398614c20069fd67642730e3a6519b # tags/2.80.0^0
|
||||
source=(
|
||||
source=(
|
||||
# "git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
|
||||
"git+https://gitlab.gnome.org/GNOME/glib.git?signed#tag=$pkgver"
|
||||
"git+https://gitlab.gnome.org/GNOME/gvdb.git"
|
||||
0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
|
||||
gio-querymodules.hook
|
||||
glib-compile-schemas.hook)
|
||||
# docbook.xsl::https://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl)
|
||||
|
||||
#pkgver() {
|
||||
# cd glib
|
||||
|
@ -52,12 +50,12 @@ prepare() {
|
|||
|
||||
build() {
|
||||
# Produce more debug info: GLib has a lot of useful macros
|
||||
# CFLAGS+=" -g3"
|
||||
# CXXFLAGS+=" -g3"
|
||||
CFLAGS+=" -g3"
|
||||
CXXFLAGS+=" -g3"
|
||||
|
||||
# use fat LTO objects for static libraries
|
||||
CFLAGS+=' -ffat-lto-objects'
|
||||
CXXFLAGS+=' -ffat-lto-objects'
|
||||
CFLAGS+=" -ffat-lto-objects"
|
||||
CXXFLAGS+=" -ffat-lto-objects"
|
||||
|
||||
arch-meson glib build \
|
||||
--default-library both \
|
||||
|
@ -71,6 +69,14 @@ build() {
|
|||
meson compile -C build
|
||||
}
|
||||
|
||||
# Read ./note about the reason of the failing test, it is because we refuse to let dbus run!
|
||||
#check() {
|
||||
# meson test -C build --no-suite flaky --no-suite slow --print-errorlogs
|
||||
#}
|
||||
#
|
||||
# You can run this check, get the 2 failured listed in "note" comment this and rerun makepkg without -f
|
||||
#
|
||||
|
||||
_pick() {
|
||||
local p="$1" f d; shift
|
||||
for f; do
|
||||
|
@ -81,43 +87,60 @@ _pick() {
|
|||
done
|
||||
}
|
||||
|
||||
# Read ./note about the reason of the failing test, it is because we refuse to let dbus run!
|
||||
#check() {
|
||||
# meson test -C build --no-suite flaky --no-suite slow --print-errorlogs
|
||||
#}
|
||||
#
|
||||
# You can run this check, get the 2 failured listed in "note" comment this and rerun makepkg without -f
|
||||
#
|
||||
|
||||
#package_glib2() {
|
||||
package() {
|
||||
package_glib2() {
|
||||
depends+=(libmount.so libffi.so)
|
||||
|
||||
provides+=(libg{lib,io,irepository,module,object,thread}-2.0.so)
|
||||
|
||||
optdepends=('python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report'
|
||||
'glib2-devel: development files for glib2'
|
||||
'libelf: gresource inspection tool'
|
||||
'python-packaging: gdbus-codegen')
|
||||
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
|
||||
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
|
||||
# install -D gio-querymodules.script "$pkgdir/usr/share/libalpm/scripts/gio-querymodules"
|
||||
touch "$pkgdir/usr/lib/gio/modules/.keep"
|
||||
|
||||
python -m compileall -d /usr/share/glib-2.0/codegen \
|
||||
"$pkgdir/usr/share/glib-2.0/codegen"
|
||||
python -O -m compileall -d /usr/share/glib-2.0/codegen \
|
||||
"$pkgdir/usr/share/glib-2.0/codegen"
|
||||
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 glib/docs/reference/COPYING
|
||||
|
||||
# BUILT THIS WITH gtk-docs disabled above, since we are borrowing the docs pkg from Arch instead of
|
||||
# building it. The following is to split the gtk-doc part into a separate pkg.
|
||||
# cd "$pkgdir"
|
||||
#
|
||||
# # Split docs
|
||||
#
|
||||
cd "$pkgdir"
|
||||
|
||||
# Split docs
|
||||
# _pick docs usr/share/doc
|
||||
|
||||
# Split devel
|
||||
_pick devel usr/bin/gdbus-codegen
|
||||
_pick devel usr/bin/glib-{mkenums,genmarshal}
|
||||
_pick devel usr/bin/gresource
|
||||
_pick devel usr/bin/gtester{,-report}
|
||||
|
||||
_pick devel usr/share/gdb/
|
||||
_pick devel usr/share/glib-2.0/gdb/
|
||||
_pick devel usr/share/glib-2.0/codegen/
|
||||
|
||||
_pick devel usr/share/bash-completion/completions/gresource
|
||||
|
||||
_pick devel usr/share/man/man1/gdbus-codegen.1
|
||||
_pick devel usr/share/man/man1/glib-{mkenums,genmarshal}.1
|
||||
_pick devel usr/share/man/man1/gresource.1
|
||||
_pick devel usr/share/man/man1/gtester{,-report}.1
|
||||
}
|
||||
|
||||
package_glib2-devel() {
|
||||
pkgdesc+=" - development files"
|
||||
depends=(
|
||||
glib2
|
||||
glibc
|
||||
libelf
|
||||
python
|
||||
python-packaging
|
||||
)
|
||||
mv devel/* "$pkgdir"
|
||||
}
|
||||
|
||||
#package_glib2-docs() {
|
||||
|
@ -136,7 +159,7 @@ license=(LGPL-2.1-or-later)
|
|||
|
||||
validpgpkeys=(923B7025EE03C1C59F42684CF0942E894B2EAFA0) # Philip Withnall <pwithnall@gnome.org>
|
||||
|
||||
b2sums=('5cee8c7aee08f20b759bb614475a3881f60586d5f388e9c45c670765e03b77916c3d1e27b6e0286f23d779014ba17993400ed4708bcb456a479e43a2e80f6756'
|
||||
b2sums=('3b54c7e41124e26bc50c8d44ee3d960017d72332e3fbedc505221686f60690ac033410e9202d713f40dd95259fa6a6effd292bfacbe26e9f429f94980c0d4865'
|
||||
'SKIP'
|
||||
'94c73ca7070c239494873dd52d6ee09382bbb5b1201f7afd737cfa140b1a2fb0744b2c2831baf3943d1d072550c35888d21ce6f19f89481ff9d1a60d9a0b30e0'
|
||||
'14c9211c0557f6d8d9a914f1b18b7e0e23f79f4abde117cb03ab119b95bf9fa9d7a712aa0a29beb266468aeb352caa3a9e4540503cfc9fe0bbaf764371832a96'
|
||||
|
@ -148,5 +171,6 @@ sha256sums=(SKIP # glib
|
|||
557c88177f011ced17bdeac1af3f882b2ca33b386a866fdf900b35f927a2bbe8 # gio-querymodules.hook
|
||||
fe31399eb057d24a37062bcae6f88ca0778a91b85737f8110a03baa8bfc64fec) # glib-compile-schemas.hook
|
||||
|
||||
## dfb166d521ec67e28ae3e323007392bc9f40eb3b182131cf7c49d872b6eced86 glib2-2.80.2-02-x86_64.pkg.tar.lz
|
||||
## 4786419d1aba44192ded830965fd16f3f24de1c3e75e349395ea7963317537b0 glib2-2.80.3-01-x86_64.pkg.tar.lz
|
||||
## 166d994b26adc7ad913e8fc0f92bf25e5fb7d033ad845efb6f693660e30336c4 glib2-devel-2.80.3-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -5,10 +5,11 @@
|
|||
pkgbase=glib2
|
||||
pkgname=(
|
||||
glib2
|
||||
glib2-devel
|
||||
glib2-docs
|
||||
)
|
||||
pkgver=2.80.2
|
||||
pkgrel=2
|
||||
pkgver=2.80.3
|
||||
pkgrel=1
|
||||
pkgdesc="Low level core library"
|
||||
url="https://gitlab.gnome.org/GNOME/glib"
|
||||
license=(LGPL-2.1-or-later)
|
||||
|
@ -47,7 +48,7 @@ source=(
|
|||
gio-querymodules.hook
|
||||
glib-compile-schemas.hook
|
||||
)
|
||||
b2sums=('5cee8c7aee08f20b759bb614475a3881f60586d5f388e9c45c670765e03b77916c3d1e27b6e0286f23d779014ba17993400ed4708bcb456a479e43a2e80f6756'
|
||||
b2sums=('3b54c7e41124e26bc50c8d44ee3d960017d72332e3fbedc505221686f60690ac033410e9202d713f40dd95259fa6a6effd292bfacbe26e9f429f94980c0d4865'
|
||||
'SKIP'
|
||||
'94c73ca7070c239494873dd52d6ee09382bbb5b1201f7afd737cfa140b1a2fb0744b2c2831baf3943d1d072550c35888d21ce6f19f89481ff9d1a60d9a0b30e0'
|
||||
'14c9211c0557f6d8d9a914f1b18b7e0e23f79f4abde117cb03ab119b95bf9fa9d7a712aa0a29beb266468aeb352caa3a9e4540503cfc9fe0bbaf764371832a96'
|
||||
|
@ -116,10 +117,9 @@ package_glib2() {
|
|||
)
|
||||
provides+=(libg{lib,io,irepository,module,object,thread}-2.0.so)
|
||||
optdepends=(
|
||||
'glib2-devel: development files for glib2'
|
||||
'gvfs: most gio functionality'
|
||||
'libelf: gresource inspection tool'
|
||||
'python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report'
|
||||
'python-packaging: gdbus-codegen'
|
||||
)
|
||||
options=(staticlibs)
|
||||
|
||||
|
@ -137,6 +137,35 @@ package_glib2() {
|
|||
|
||||
# Split docs
|
||||
_pick docs usr/share/doc
|
||||
|
||||
# Split devel
|
||||
_pick devel usr/bin/gdbus-codegen
|
||||
_pick devel usr/bin/glib-{mkenums,genmarshal}
|
||||
_pick devel usr/bin/gresource
|
||||
_pick devel usr/bin/gtester{,-report}
|
||||
|
||||
_pick devel usr/share/gdb/
|
||||
_pick devel usr/share/glib-2.0/gdb/
|
||||
_pick devel usr/share/glib-2.0/codegen/
|
||||
|
||||
_pick devel usr/share/bash-completion/completions/gresource
|
||||
|
||||
_pick devel usr/share/man/man1/gdbus-codegen.1
|
||||
_pick devel usr/share/man/man1/glib-{mkenums,genmarshal}.1
|
||||
_pick devel usr/share/man/man1/gresource.1
|
||||
_pick devel usr/share/man/man1/gtester{,-report}.1
|
||||
}
|
||||
|
||||
package_glib2-devel() {
|
||||
pkgdesc+=" - development files"
|
||||
depends=(
|
||||
glib2
|
||||
glibc
|
||||
libelf
|
||||
python
|
||||
python-packaging
|
||||
)
|
||||
mv devel/* "$pkgdir"
|
||||
}
|
||||
|
||||
package_glib2-docs() {
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# Contributor : Evhorizon <event.horizon@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=jobo-setup
|
||||
pkgdesc='Post Install joborun setup script - The script will not alter your system, you will!'
|
||||
pkgver=0.5
|
||||
pkgver=0.6
|
||||
pkgrel=01
|
||||
groups=(base)
|
||||
source=( 'README.txt'
|
||||
|
@ -19,12 +20,15 @@ source=( 'README.txt'
|
|||
'joborun-setup'
|
||||
'removeX'
|
||||
'rm.66'
|
||||
'X.list')
|
||||
depends=('zsh')
|
||||
'X.list'
|
||||
'install.labwc'
|
||||
'remove.labwc'
|
||||
'labwc.list'
|
||||
'add-gfx')
|
||||
|
||||
package() {
|
||||
cd "$pkgdir"
|
||||
depends=('arch-install-scripts')
|
||||
depends=('arch-install-scripts' 'zsh' 'joborun-zsh')
|
||||
mkdir -p $pkgdir/usr/local/bin
|
||||
install -Dm644 $srcdir/README.txt "$pkgdir/root/README.txt"
|
||||
install -Dm755 $srcdir/joborun-setup "$pkgdir/usr/local/bin/"
|
||||
|
@ -32,10 +36,14 @@ package() {
|
|||
install -Dm755 $srcdir/66-user-up "$pkgdir/usr/local/bin/"
|
||||
install -Dm755 $srcdir/66-user-down "$pkgdir/usr/local/bin/"
|
||||
install -Dm755 $srcdir/add.66 "$pkgdir/usr/local/bin/"
|
||||
install -Dm755 $srcdir/rm.66 "$pkgdir/usr/local/bin/"
|
||||
install -Dm755 $srcdir/installX "$pkgdir/usr/local/bin/"
|
||||
install -Dm755 $srcdir/removeX "$pkgdir/usr/local/bin/"
|
||||
install -Dm755 $srcdir/rm.66 "$pkgdir/usr/local/bin/"
|
||||
install -Dm644 $srcdir/X.list "$pkgdir/usr/local/bin/"
|
||||
install -Dm755 $srcdir/install.labwc "$pkgdir/usr/local/bin/"
|
||||
install -Dm755 $srcdir/remove.labwc "$pkgdir/usr/local/bin/"
|
||||
install -Dm644 $srcdir/labwc.list "$pkgdir/usr/local/bin/"
|
||||
install -Dm755 $srcdir/add-gfx "$pkgdir/usr/local/bin/"
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
@ -49,10 +57,15 @@ sha256sums=(5c57b7e372ce103afa24acfd4479a85c80c6980e06d580d5bee6c6b3f24174ab #
|
|||
53a968efacc805e2b8ea7e7d717f67909fba975e587612bc4accd83cba8edf32 # 66-user-up
|
||||
d8abf5f581779d53eb2f81dd9f5f68596867eddbf76edcf79c6de5873abbac86 # 66-user-down
|
||||
18ef4f0e1cbb60f90a6aa6456f24aec7eea990f6f3f220288303d4dc4b95dc93 # add.66
|
||||
6da18c734fdcd67386e1ef6be59423a3ed59631c5541b23cf78050a5891421a8 # installX
|
||||
73e4e2cf4608f43eded85369c8cf4dd4cb220902620ef28fc19cc7eb73e46775 # installX
|
||||
33de4e4329d0e4c8f2a278e2bd726db5ee5fff59e943fb07004278d4a0d1d20a # joborun-setup
|
||||
a3994c515f0129ed7a6d88e9de01e7fc64dacbc5f7ca2e29e2377f16461a1bee # removeX
|
||||
e078695327e40790c675d04ed9d8144840ee64a90b8d9d782a7d843109eb9d52 # rm.66
|
||||
3bc8aa0ad93233ef9c191c3a2d37ae9f1592a48add8a23b55afac1d7f4397762) # X.list
|
||||
50be5dceaa457ab523ffac933852f5f2e4af9ab8589961e46b2309568c55a0bf # X.list
|
||||
e3ebae67ce2be67beef600532e816078a9ff8c6fc777ca77c6ab728feb08aa9a # install.labwc
|
||||
088763058d11eaf9c46ab4819ba6ce7cf2585c3190c7a076981ce057b5ebb2c2 # remove.labwc
|
||||
b02e661644071bb892fc07ecc024efb731c022251abe9ff8e4dd12f4b333c36f # labwc.list
|
||||
981716977ddb54d9b5c7e965a555336250bac40dc9816698007ac9407cb49e78) # add-gfx
|
||||
|
||||
## e92c13b7f6ad2ca709e5ef569ef73dd362b4bc8159d12f10564a401fcf118cf3 jobo-setup-0.6-01-x86_64.pkg.tar.lz
|
||||
|
||||
## 278d6a2f13bdc4ec1b11999b737101275758f6695e9513b0f2f230a29db9a09b jobo-setup-0.5-01-x86_64.pkg.tar.lz
|
||||
|
|
|
@ -13,17 +13,18 @@ mesa
|
|||
libtool
|
||||
arandr
|
||||
conky11
|
||||
lxterminal
|
||||
pcmanfm
|
||||
elinks
|
||||
feh
|
||||
jwm
|
||||
openbox-patched
|
||||
leafpad
|
||||
lxterminal
|
||||
lxappearance-obconf
|
||||
obconf
|
||||
obmenu-generator
|
||||
xdg-user-dirs
|
||||
pcmanfm
|
||||
pam_rundir
|
||||
libglvnd
|
||||
freetype2
|
||||
gmrun
|
||||
|
@ -32,3 +33,4 @@ package-query
|
|||
at-spi2-core
|
||||
pacman-contrib
|
||||
startup-notification
|
||||
volumeicon
|
||||
|
|
25
jobo-setup/add-gfx
Executable file
25
jobo-setup/add-gfx
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/sh
|
||||
echo "* * * * * * * * * * * * * * * * * * "
|
||||
echo "* To add a graphic environment * "
|
||||
echo "* 1 For Openbox/jwm X11 1 * "
|
||||
echo "* 2 For labwc wayland 2 * "
|
||||
echo "* 3 For console no gfx 3 * "
|
||||
echo "* enter 1 2 or 3 * "
|
||||
echo "* * "
|
||||
echo "* * * * * * * * * * * * * * * * * * "
|
||||
read i
|
||||
: "${i:=3}"
|
||||
if [ $i -eq 1 ]
|
||||
then
|
||||
echo "openbox $i "
|
||||
echo "enter to proceed with openbox/jwm installation"
|
||||
/usr/local/bin/installX
|
||||
elif [ $i -eq 2 ]
|
||||
then
|
||||
echo "labwc $i "
|
||||
echo "enter to proceed with labwc installation"
|
||||
/usr/local/bin/install.labwc
|
||||
else
|
||||
echo "remain on base console"
|
||||
exit
|
||||
fi
|
10
jobo-setup/install.labwc
Executable file
10
jobo-setup/install.labwc
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/zsh
|
||||
sudo pacman -Syu $(cat /usr/local/bin/labwc.list) --noconfirm
|
||||
# sudo /usr/local/bin/cldoc # use if you want documentation/help remove to save space
|
||||
echo "You may wish to add labwc to your .zlogin or .bashrc if you want it to start up after login"
|
||||
echo "If you already have an X server running or xinit/startx in your .zlogi both may start"
|
||||
echo "hit Enter to get to labwc, Ctrl-C to remain in console"
|
||||
sudo 66-enable -t root -FS seatd >/dev/null
|
||||
sudo ln -sf /usr/lib/runit/sv/seatd /etc/runit/runsvdir/default/ >/dev/null
|
||||
read
|
||||
labwc
|
|
@ -1,6 +1,13 @@
|
|||
#!/usr/bin/zsh
|
||||
sudo pacman -S $(cat /usr/local/bin/X.list) --noconfirm
|
||||
# sudo /usr/local/bin/cldoc # use if you want documentation/help remove to save space
|
||||
echo "hit Enter to get to openbox, Ctrl-C to remain in console"
|
||||
echo "Press enter if you want openbox and jwm to be installed in the system"
|
||||
echo "using joborun linux recommended setup"
|
||||
read
|
||||
sudo pacman -Suy $(cat /usr/local/bin/X.list) --noconfirm
|
||||
echo "sudo /usr/local/bin/cldoc - if you want documentation/help removed to save space"
|
||||
echo "exec openbox-session" >>~/.xinitrc
|
||||
echo "type xinit to start your openbox session"
|
||||
echo "add xinit to your ~/.zlogin or ~/.bashrc to have an X session start after login"
|
||||
echo "edit ~/.xinitrc and switch by comment/uncomment openbox-session or jwm"
|
||||
echo "depending which one of the two you prefer to have started."
|
||||
echo "hit Enter to get to openbox, Ctrl-C to remain in console"
|
||||
xinit
|
||||
|
|
23
jobo-setup/labwc.list
Normal file
23
jobo-setup/labwc.list
Normal file
|
@ -0,0 +1,23 @@
|
|||
labwc
|
||||
seatd
|
||||
wlroots
|
||||
wlroots0.16
|
||||
swaybg
|
||||
wapanel
|
||||
wlr-randr
|
||||
conky11
|
||||
sakura-gtk2
|
||||
pcmanfm-gtk2
|
||||
swayidle
|
||||
elinks
|
||||
feh
|
||||
leafpad
|
||||
labwc-menu-generator
|
||||
xdg-user-dirs
|
||||
pam_rundir
|
||||
gmrun
|
||||
nwg-look
|
||||
package-query
|
||||
pacman-contrib
|
||||
startup-notification
|
||||
volumeicon
|
6
jobo-setup/remove.labwc
Executable file
6
jobo-setup/remove.labwc
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/zsh
|
||||
sudo pacman -Rnsu $(cat /usr/local/bin/labwc.list) --noconfirm
|
||||
# sudo /usr/local/bin/cldoc # use if you want documentation/help remove to save space
|
||||
echo "hit Enter to exit X or Ctrl-C to remain in graphic session that remains in Ram"
|
||||
read
|
||||
labwc -exit
|
17
joborun-zsh/LICENSE
Normal file
17
joborun-zsh/LICENSE
Normal file
|
@ -0,0 +1,17 @@
|
|||
Copyleft (c) 2021-2024 JOBORun <joborun@disroot.org>
|
||||
|
||||
Copyright (c) 2015-2018 Eric Vidal <eric@obarun.org>
|
||||
All rights reserved.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
38
joborun-zsh/PKGBUILD
Normal file
38
joborun-zsh/PKGBUILD
Normal file
|
@ -0,0 +1,38 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=joborun-zsh
|
||||
pkgver=0.1
|
||||
pkgrel=01
|
||||
pkgdesc="joborun linux zsh dotfiles"
|
||||
depends=('zsh')
|
||||
optdepends=('fzf: interactive menu support')
|
||||
conflicts=(obarun-zsh)
|
||||
source=('zshrc' 'zshenv' 'LICENSE')
|
||||
backup=('etc/skel/.zshrc' 'etc/skel/.zshenv' 'etc/.zshrc' 'etc/.zshenv')
|
||||
|
||||
package() {
|
||||
|
||||
install -D -m644 zshrc ${pkgdir}/etc/skel/.zshrc
|
||||
install -D -m644 zshenv ${pkgdir}/etc/skel/.zshenv
|
||||
install -D -m644 zshrc ${pkgdir}/etc/.zshrc
|
||||
install -D -m644 zshenv ${pkgdir}/etc/.zshenv
|
||||
install -Dm 0644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('ISC')
|
||||
|
||||
sha256sums=(5018a8ddfc499046bac0d8622cd010205ef19b037abe83610d3b0c94c9c1be23 # zshrc
|
||||
8ac0385e200d8a84af3292e07b76df9099466b38002c8205d1f6ffbcd4c6a500 # zshenv
|
||||
195e676caf3df75edf2e07c6ab1760914e36e40df6a28c1a6d0737180c0d771b) # LICENSE
|
||||
|
||||
## ced1a8c7da54ce89dfa5ea987bd32f6ba5a6b9208d80537605c49693e1790bdb joborun-zsh-0.1-01-x86_64.pkg.tar.lz
|
||||
|
1
joborun-zsh/clean
Normal file
1
joborun-zsh/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg}
|
1
joborun-zsh/deps
Normal file
1
joborun-zsh/deps
Normal file
|
@ -0,0 +1 @@
|
|||
|
6
joborun-zsh/time
Normal file
6
joborun-zsh/time
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 0m1.754s
|
||||
user 0m1.541s
|
||||
sys 0m0.410s
|
||||
|
4
joborun-zsh/zshenv
Normal file
4
joborun-zsh/zshenv
Normal file
|
@ -0,0 +1,4 @@
|
|||
typeset -U path
|
||||
path=(/usr/bin: /usr/local/bin: /opt/: /usr/share/man:: /usr/share/html:: /usr/share/doc: $path)
|
||||
export EDITOR=nano
|
||||
export SEATD_VTBOUND 0
|
381
joborun-zsh/zshrc
Normal file
381
joborun-zsh/zshrc
Normal file
|
@ -0,0 +1,381 @@
|
|||
# .zshrc
|
||||
# Author: Piotr Karbowski <piotr.karbowski@gmail.com>
|
||||
# License: ISC.
|
||||
# modified by : Eric vidal <eric@obarun.org> for Obarun OS
|
||||
# re-modified by : Joborun <joborun@disroot.org> for Joborun Linux
|
||||
# Basic zsh config.
|
||||
|
||||
ZDOTDIR=${ZDOTDIR:-${HOME}}
|
||||
ZSHDDIR="${HOME}/.config/zsh.d"
|
||||
HISTFILE="${ZDOTDIR}/.zsh_history"
|
||||
HISTSIZE='20000'
|
||||
SAVEHIST="${HISTSIZE}"
|
||||
FONT=ter-u28b.psf
|
||||
FONT_MAP=ter-u22b.psf
|
||||
FONT_UNIMAP=ter-u24b.psf
|
||||
LANG=C
|
||||
|
||||
#export EDITOR="/usr/bin/mcedit"
|
||||
export EDITOR="/usr/bin/nano"
|
||||
|
||||
## can be useful :)
|
||||
#source /usr/lib/obarun/common_functions
|
||||
|
||||
TMP=${HOME}/tmp
|
||||
if [ ! -d "${TMP}" ]; then mkdir -m1777 "${TMP}"; fi
|
||||
|
||||
# Colors
|
||||
red='\e[0;31m'
|
||||
RED='\e[1;31m'
|
||||
green='\e[0;32m'
|
||||
GREEN='\e[1;32m'
|
||||
yellow='\e[0;33m'
|
||||
YELLOW='\e[1;33m'
|
||||
blue='\e[0;34m'
|
||||
BLUE='\e[1;34m'
|
||||
purple='\e[0;35m'
|
||||
PURPLE='\e[1;35m'
|
||||
cyan='\e[0;36m'
|
||||
CYAN='\e[1;36m'
|
||||
NC='\e[0m'
|
||||
|
||||
# Functions
|
||||
if [ -f '/etc/profile.d/prll.sh' ]; then
|
||||
. "/etc/profile.d/prll.sh"
|
||||
fi
|
||||
|
||||
reload() {
|
||||
if [[ "$#*" -eq 0 ]]; then
|
||||
test -r ~/.zshrc && . ~/.zshrc
|
||||
return 0
|
||||
else
|
||||
local fn
|
||||
for fn in $*; do
|
||||
unfunction $fn
|
||||
autoload -U $fn
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
# Fzf menu to search and kill process
|
||||
fkill() {
|
||||
local pid
|
||||
pid=$(ps -ef | sed 1d | fzf -m | awk '{print $2}')
|
||||
|
||||
if [ "x$pid" != "x" ]
|
||||
then
|
||||
echo $pid | xargs kill -${1:-9}
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
# Search a specific term into a specific file
|
||||
# This function search only in current directory and sub-directory
|
||||
# e.g. search_in_file "pkgver=" "PKGBUILD"
|
||||
search_in_file() {
|
||||
local search="${1}"
|
||||
local infile="${2}"
|
||||
|
||||
for i in $(find -name ${infile});do
|
||||
if grep -qns "${search}" $i; then
|
||||
printf "found in : ${GREEN}%s${NC}\n" $i
|
||||
grep -n "${search}" $i
|
||||
printf "\n"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
# Search a specific term into current directory and sub-direcotory
|
||||
# e.g. search_in "pkgname"
|
||||
search_in() {
|
||||
local search="${1}"
|
||||
|
||||
for i in $(find);do
|
||||
if grep -qns "${search}" $i; then
|
||||
printf "found in : ${GREEN}%s${NC}\n" $i
|
||||
grep -n "${search}" $i
|
||||
printf "\n"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
over_ssh() {
|
||||
if [ -n "${SSH_CLIENT}" ]; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
reload () {
|
||||
exec "${SHELL}" "$@"
|
||||
}
|
||||
|
||||
confirm() {
|
||||
local answer
|
||||
echo -ne "zsh: sure you want to run '${YELLOW}$*${NC}' [yN]? "
|
||||
read -q answer
|
||||
echo
|
||||
if [[ "${answer}" =~ ^[Yy]$ ]]; then
|
||||
command "${@}"
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
confirm_wrapper() {
|
||||
if [ "$1" = '--root' ]; then
|
||||
local as_root='true'
|
||||
shift
|
||||
fi
|
||||
|
||||
local prefix=''
|
||||
|
||||
if [ "${as_root}" = 'true' ] && [ "${USER}" != 'root' ]; then
|
||||
prefix="sudo"
|
||||
fi
|
||||
confirm ${prefix} "$@"
|
||||
}
|
||||
|
||||
poweroff() { confirm_wrapper --root $0 "$@"; }
|
||||
reboot() { confirm_wrapper --root $0 "$@"; }
|
||||
hibernate() { confirm_wrapper --root $0 "$@"; }
|
||||
|
||||
escape() {
|
||||
# Uber useful when you need to translate weird as fuck path into single-argument string.
|
||||
local escape_string_input
|
||||
echo -n "String to escape: "
|
||||
read escape_string_input
|
||||
printf '%q\n' "$escape_string_input"
|
||||
}
|
||||
|
||||
detox() {
|
||||
if [ "$#" -ge 1 ]; then
|
||||
confirm detox "$@"
|
||||
else
|
||||
command detox "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
has() {
|
||||
local string="${1}"
|
||||
shift
|
||||
local element=''
|
||||
for element in "$@"; do
|
||||
if [ "${string}" = "${element}" ]; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
return 1
|
||||
}
|
||||
|
||||
begin_with() {
|
||||
local string="${1}"
|
||||
shift
|
||||
local element=''
|
||||
for element in "$@"; do
|
||||
if [[ "${string}" =~ "^${element}" ]]; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
return 1
|
||||
|
||||
}
|
||||
|
||||
termtitle() {
|
||||
case "$TERM" in
|
||||
rxvt*|xterm|nxterm|gnome|screen|screen-*)
|
||||
local prompt_host="${(%):-%m}"
|
||||
local prompt_user="${(%):-%n}"
|
||||
local prompt_char="${(%):-%~}"
|
||||
case "$1" in
|
||||
precmd)
|
||||
printf '\e]0;%s@%s: %s\a' "${prompt_user}" "${prompt_host}" "${prompt_char}"
|
||||
;;
|
||||
preexec)
|
||||
printf '\e]0;%s [%s@%s: %s]\a' "$2" "${prompt_user}" "${prompt_host}" "${prompt_char}"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
man() {
|
||||
if command -v vimmanpager >/dev/null 2>&1; then
|
||||
PAGER="vimmanpager" command man "$@"
|
||||
else
|
||||
command man "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
dot_progress() {
|
||||
# Fancy progress function from Landley's Aboriginal Linux.
|
||||
# Useful for long rm, tar and such.
|
||||
# Usage:
|
||||
# rm -rfv /foo | dot_progress
|
||||
local i='0'
|
||||
local line=''
|
||||
|
||||
while read line; do
|
||||
i="$((i+1))"
|
||||
if [ "${i}" = '25' ]; then
|
||||
printf '.'
|
||||
i='0'
|
||||
fi
|
||||
done
|
||||
printf '\n'
|
||||
}
|
||||
|
||||
|
||||
# Le features!
|
||||
# extended globbing, awesome!
|
||||
setopt extendedGlob
|
||||
|
||||
# zmv - a command for renaming files by means of shell patterns.
|
||||
autoload -U zmv
|
||||
|
||||
# zargs, as an alternative to find -exec and xargs.
|
||||
autoload -U zargs
|
||||
|
||||
# Turn on command substitution in the prompt (and parameter expansion and arithmetic expansion).
|
||||
setopt promptsubst
|
||||
|
||||
# Control-x-e to open current line in $EDITOR, awesome when writting functions or editing multiline commands.
|
||||
autoload -U edit-command-line
|
||||
zle -N edit-command-line
|
||||
|
||||
# Include user-specified configs.
|
||||
if [ ! -d "${ZSHDDIR}" ]; then
|
||||
mkdir -p "${ZSHDDIR}" && echo "# Put your user-specified config here." > "${ZSHDDIR}/example.zsh"
|
||||
fi
|
||||
|
||||
for zshd in $(ls -A ${HOME}/.config/zsh.d/^*.(z)sh$); do
|
||||
. "${zshd}"
|
||||
done
|
||||
|
||||
# Completion.
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
|
||||
zstyle ':completion:*' completer _expand _complete _ignored _approximate
|
||||
zstyle ':completion:*' menu select=2
|
||||
zstyle ':completion:*' select-prompt '%SScrolling active: current selection at %p%s'
|
||||
zstyle ':completion::complete:*' use-cache 1
|
||||
zstyle ':completion:*:descriptions' format '%U%F{cyan}%d%f%u'
|
||||
zstyle ':completion:*' rehash true
|
||||
|
||||
# If running as root and nice >0, renice to 0.
|
||||
if [ "$EUID" = "0" ] && [ "$(cut -d ' ' -f 19 /proc/$$/stat)" -gt 0 ]; then
|
||||
renice -n 0 -p "$$" && echo "# Adjusted nice level for current shell to 0."
|
||||
fi
|
||||
|
||||
# Fancy prompt.
|
||||
if over_ssh && [ -z "${TMUX}" ]; then
|
||||
prompt_is_ssh='%F{blue}[%F{red}SSH%F{blue}] '
|
||||
elif over_ssh; then
|
||||
prompt_is_ssh='%F{blue}[%F{253}SSH%F{blue}] '
|
||||
else
|
||||
unset prompt_is_ssh
|
||||
fi
|
||||
|
||||
case $EUID in
|
||||
0)
|
||||
PROMPT='%B%F{red}%n@%m%k %(?..%F{blue}[%F{red}%?%F{blue}] )${prompt_is_ssh}%B%F{blue}%1~${git_prompt}%F{blue} %# %b%f%k'
|
||||
;;
|
||||
|
||||
*)
|
||||
PROMPT='%B%F{blue}%n@%m%k %(?..%F{blue}[%F{red}%?%F{blue}] )${prompt_is_ssh}%B%F{cyan}%1~${git_prompt}%F{cyan} %# %b%f%k'
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
# Ignore lines prefixed with '#'.
|
||||
setopt interactivecomments
|
||||
|
||||
# Ignore duplicate in history.
|
||||
setopt hist_ignore_dups
|
||||
|
||||
# Prevent record in history entry if preceding them with at least one space
|
||||
setopt hist_ignore_space
|
||||
|
||||
# Nobody need flow control anymore. Troublesome feature.
|
||||
#stty -ixon
|
||||
setopt noflowcontrol
|
||||
|
||||
# Fix for tmux on linux.
|
||||
case "$(uname -o)" in
|
||||
'GNU/Linux')
|
||||
export EVENT_NOEPOLL=1
|
||||
;;
|
||||
esac
|
||||
|
||||
# Aliases
|
||||
alias more='more -e '
|
||||
alias lsl='ls -lh '
|
||||
alias lsd='ls -altrh '
|
||||
alias lss='ls -alSrh '
|
||||
alias lsrc='ls -lh /var/cache/src/'
|
||||
alias lsloc='f(){sudo ls -lh /usr/local/bin/$@;unset -f f;};f'
|
||||
alias slsl='sudo ls -lh '
|
||||
alias slsd='sudo ls -altrh '
|
||||
alias slss='sudo ls -alSrh '
|
||||
alias md='mkdir -p'
|
||||
alias sudo='sudo '
|
||||
alias cp='cp -ivp'
|
||||
alias rcp='rsync -v --progress'
|
||||
alias rmv='rsync -v --progress --remove-source-files'
|
||||
alias mv='mv -iv'
|
||||
alias rm='rm -iv'
|
||||
alias rmdir='rmdir -v'
|
||||
alias ln='ln -v'
|
||||
alias chmod="chmod -c"
|
||||
alias chown="chown -c"
|
||||
|
||||
if command -v colordiff > /dev/null 2>&1; then
|
||||
alias diff="colordiff -Nuar"
|
||||
else
|
||||
alias diff="diff --color=auto -Nuar"
|
||||
fi
|
||||
alias pm=' nc termbin.com 9999'
|
||||
alias grep='grep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
#alias ls='ls -alh --color=auto --human-readable --group-directories-first --classify'
|
||||
##replace mygpg by your own
|
||||
#alias sign='gpg --detach-sign --use-agent -u mygpg --no-armor'
|
||||
alias pkg='f(){sudo pacman $@;unset -f f;};f'
|
||||
alias caur='f(){cower -d $@;unset -f f;};f'
|
||||
alias cdaur='f(){cd $@;unset -f f;};f'
|
||||
alias dep='f(){pactree -d1 $@;unset -f f;};f'
|
||||
alias deps='f(){pactree -r $@;unset -f f;};f'
|
||||
alias deps1='f(){pactree -r -d1 $@;unset -f f;};f'
|
||||
alias yay='f(){package-query -AQSs --rsort w --show-size $@;unset -f f;};f'
|
||||
alias edit='f(){nano $@;unset -f f;};f'
|
||||
alias sedit='f(){sudo nano $@;unset -f f;};f'
|
||||
alias lshome='ls -lhtr ~/'
|
||||
alias depR='pkg -Rnsu $(cat deps) --noconfirm '
|
||||
alias depS='pkg -S $(cat deps) --noconfirm '
|
||||
##Binkey
|
||||
|
||||
bindkey -e
|
||||
|
||||
bindkey '^[[H' beginning-of-line # home key
|
||||
bindkey '^[[F' end-of-line # end key
|
||||
|
||||
bindkey '^[[3~' delete-char # del key
|
||||
|
||||
bindkey '^U' backward-kill-line # control + u
|
||||
bindkey "^H" backward-kill-word # control + backspace
|
||||
|
||||
bindkey "^[[A" history-beginning-search-backward # search history from given command
|
||||
bindkey "^[[B" history-beginning-search-forward # search history from given command
|
||||
|
||||
bindkey -s '^[S' '^Asudo ^E' # alt + shift + s add sudo at the beginning of the line
|
||||
|
||||
bindkey '^[[1;5D' backward-word # control + left arrow
|
||||
bindkey '^[[1;5C' forward-word # control + right arrow
|
||||
|
||||
#bindkey "^R" history-incremental-pattern-search-backward
|
||||
#bindkey "^S" history-incremental-pattern-search-forward
|
||||
#. /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
bindkey "^X^E" edit-command-line
|
|
@ -7,21 +7,22 @@
|
|||
|
||||
pkgname=nspr
|
||||
pkgver=4.35
|
||||
pkgrel=02
|
||||
pkgrel=03
|
||||
pkgdesc="Netscape Portable Runtime"
|
||||
url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
|
||||
depends=(glibc sh)
|
||||
#options=(debug) # uncomment this line to produce the debug pkg
|
||||
makedepends=(zip mercurial)
|
||||
_revision=b563bfc16c887c48b038b7b441fcc4e40a126d3b
|
||||
source=("hg+https://hg.mozilla.org/projects/nspr#revision=$_revision"
|
||||
#_revision=b563bfc16c887c48b038b7b441fcc4e40a126d3b
|
||||
#source=("hg+https://hg.mozilla.org/projects/nspr#revision=$_revision"
|
||||
source=("hg+https://hg.mozilla.org/projects/nspr#tag=NSPR_${pkgver//./_}_RTM"
|
||||
0001-linux-prefer-GCC-provided-atomics-to-asssembly-imple.patch
|
||||
0002-configure.in-Remove-assembly-files-from-build.patch)
|
||||
|
||||
pkgver() {
|
||||
cd nspr
|
||||
hg id -t -r. | sed 's/^NSPR_//;s/_RTM$//;s/_/./g'
|
||||
}
|
||||
#pkgver() {
|
||||
# cd nspr
|
||||
# hg id -t -r. | sed 's/^NSPR_//;s/_RTM$//;s/_/./g'
|
||||
#}
|
||||
|
||||
prepare() {
|
||||
cd nspr
|
||||
|
@ -64,9 +65,13 @@ arch=(x86_64)
|
|||
|
||||
license=(MPL-2.0)
|
||||
|
||||
b2sums=('07fe5d0ad41d37080fb3114386490c5ff1d8f7fda406bae3c76118aff0c7007f4c3ebf94162c5c75bf6426a4c1bd0fcce2e3322b87eabfc26a652bc5e3d08dd0'
|
||||
'fe81bbb23478958438e385ec5563842cdaf7400021def0d2f2184c0c38389e75f28ed7a4f3b52cada4d76c6318c104dda661f1d4efaa224bc832a989729ef852'
|
||||
'1fd6e9b1f3111a29a052b6034f796e4e9577a3dbb2d0e96798ce1f47b74f515c882c9f595198fa1646648611525b48857b33ed62e713991e2f28850690e99060')
|
||||
|
||||
sha256sums=(SKIP
|
||||
289aa19bc09e1af9db51109c57f83e2052d348444445fefd4be7c51a5f24b755 # 0001-linux-prefer-GCC-provided-atomics-to-asssembly-imple.patch
|
||||
6f1603791f8fbf05afbfa1272c65dc7ebacc9453d234010d1dd105bf96e9efe4) # 0002-configure.in-Remove-assembly-files-from-build.patch
|
||||
|
||||
## d6cc856fcedbb6237bae22c6b783e4fa7fcfb5627bd367dc2774e09b4aae385f nspr-4.35-02-x86_64.pkg.tar.lz
|
||||
## 58ea64e2547ec0ca8ca494621becf18629f2ec92a1fd57c15cada41794404c7b nspr-4.35-03-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
pkgname=nspr
|
||||
pkgver=4.35
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Netscape Portable Runtime"
|
||||
url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
|
||||
arch=(x86_64)
|
||||
|
@ -17,21 +17,15 @@ makedepends=(
|
|||
mercurial
|
||||
zip
|
||||
)
|
||||
_revision=b563bfc16c887c48b038b7b441fcc4e40a126d3b
|
||||
source=(
|
||||
"hg+https://hg.mozilla.org/projects/nspr#revision=$_revision"
|
||||
"hg+https://hg.mozilla.org/projects/nspr#tag=NSPR_${pkgver//./_}_RTM"
|
||||
0001-linux-prefer-GCC-provided-atomics-to-asssembly-imple.patch
|
||||
0002-configure.in-Remove-assembly-files-from-build.patch
|
||||
)
|
||||
b2sums=('SKIP'
|
||||
b2sums=('07fe5d0ad41d37080fb3114386490c5ff1d8f7fda406bae3c76118aff0c7007f4c3ebf94162c5c75bf6426a4c1bd0fcce2e3322b87eabfc26a652bc5e3d08dd0'
|
||||
'fe81bbb23478958438e385ec5563842cdaf7400021def0d2f2184c0c38389e75f28ed7a4f3b52cada4d76c6318c104dda661f1d4efaa224bc832a989729ef852'
|
||||
'1fd6e9b1f3111a29a052b6034f796e4e9577a3dbb2d0e96798ce1f47b74f515c882c9f595198fa1646648611525b48857b33ed62e713991e2f28850690e99060')
|
||||
|
||||
pkgver() {
|
||||
cd nspr
|
||||
hg id -t -r. | sed 's/^NSPR_//;s/_RTM$//;s/_/./g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd nspr
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgbase=nss
|
||||
pkgname=(nss ca-certificates-mozilla)
|
||||
pkgver=3.100
|
||||
pkgver=3.101
|
||||
pkgrel=01
|
||||
pkgdesc="Network Security Services - zstd mandatory here!"
|
||||
url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
|
||||
|
@ -105,7 +105,8 @@ arch=(x86_64)
|
|||
|
||||
license=(MPL-2.0)
|
||||
|
||||
b2sums=('3b116ccfdd49b961055c54f3acb0bbfbc7964241c6ab52c2f911a195726101097d27e65051d7f39b91541dc76bbef43820c068219d3e6d0849fa7e860e217ebb'
|
||||
|
||||
b2sums=('090542fd89d3fb45d530de30548c69dcee2196ddf77709b326a9825520f3bd0ca13dc2211c69bb9024556c2d3980446a99535d212c29bac229797fbaf39ba16d'
|
||||
'4be5dd836c844fdd7b63302a6994d62149082c3bc81eef70f373f416fed80a61a923960e4390d1c391b81ab01b409370d788818a30ffdd3a4ed467b670f990f6'
|
||||
'6bb59dcc9289916dcbf8fb6d73db0c0cd7582dc12a3aa4e8be19ec62c9ede65fdd9470a2d92ec5a114506b78d2d21b8ae0a1b45a17dc1f90f7d75434a93da510')
|
||||
|
||||
|
@ -113,6 +114,6 @@ sha256sums=(SKIP # nss
|
|||
3bfadf722da6773bdabdd25bdf78158648043d1b7e57615574f189a88ca865dd # bundle.sh
|
||||
d2a1579dae05fd16175fac27ef08b54731ecefdf414085c610179afcf62b096c) # certdata2pem.py
|
||||
|
||||
## 1c1fdfbe7eecbd6bd72772435683e387d3b58433ce28aa918f6a669a5821c4e9 ca-certificates-mozilla-3.100-01-x86_64.pkg.tar.lz
|
||||
## 84c7b38060997d9a17aa42de5ca958f375635aebb2abe94fb26e8c712a4d24dd nss-3.100-01-x86_64.pkg.tar.lz
|
||||
## ec9679a2fa13eec7579407cbc9f71eab17515c54db382271a6dd582c6a38e3c6 ca-certificates-mozilla-3.101-01-x86_64.pkg.tar.lz
|
||||
## fe894b1b571f1463b698da7da556c98366ec634a42c412c161c1b342c6bf4196 nss-3.101-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ pkgname=(
|
|||
nss
|
||||
ca-certificates-mozilla
|
||||
)
|
||||
pkgver=3.100
|
||||
pkgver=3.101
|
||||
pkgrel=1
|
||||
pkgdesc="Network Security Services"
|
||||
url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
|
||||
|
@ -32,7 +32,7 @@ source=(
|
|||
bundle.sh
|
||||
certdata2pem.py
|
||||
)
|
||||
b2sums=('3b116ccfdd49b961055c54f3acb0bbfbc7964241c6ab52c2f911a195726101097d27e65051d7f39b91541dc76bbef43820c068219d3e6d0849fa7e860e217ebb'
|
||||
b2sums=('090542fd89d3fb45d530de30548c69dcee2196ddf77709b326a9825520f3bd0ca13dc2211c69bb9024556c2d3980446a99535d212c29bac229797fbaf39ba16d'
|
||||
'4be5dd836c844fdd7b63302a6994d62149082c3bc81eef70f373f416fed80a61a923960e4390d1c391b81ab01b409370d788818a30ffdd3a4ed467b670f990f6'
|
||||
'6bb59dcc9289916dcbf8fb6d73db0c0cd7582dc12a3aa4e8be19ec62c9ede65fdd9470a2d92ec5a114506b78d2d21b8ae0a1b45a17dc1f90f7d75434a93da510')
|
||||
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
# Contributor : Evhorizon <event.horizon@disroot.org>
|
||||
|
||||
pkgname=pambase
|
||||
pkgver=20230918
|
||||
pkgrel=01
|
||||
pkgrel=02
|
||||
pkgdesc="Base PAM configuration for services"
|
||||
arch=('any')
|
||||
url="https://www.archlinux.org"
|
||||
source=('system-auth'
|
||||
'system-local-login'
|
||||
|
@ -28,23 +28,24 @@ backup=('etc/pam.d/system-auth'
|
|||
package() {
|
||||
install -dm755 "$pkgdir/etc/pam.d"
|
||||
install -m644 -t "$pkgdir/etc/pam.d" "${source[@]}"
|
||||
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
sha256sums=(a)
|
||||
|
||||
license=(GPL-3.0-or-later)
|
||||
|
||||
sha256sums=(d3f6c7465198415df7bc3b365595642c7255dd69f2d7db548eb071123f43164c # system-auth
|
||||
sha256sums=(f9a79ebc3c45090d26c18878d98f441b6b3e723b42bf40c2f886fcb82213984b # system-auth
|
||||
# d3f6c7465198415df7bc3b365595642c7255dd69f2d7db548eb071123f43164c # system-auth-arch
|
||||
005736b9bd650ff5e5d82a7e288853776d5bb8c90185d5774c07231c1e1c64a9 # system-local-login
|
||||
86365d603d4a50f30252888b6db8f0bb4b398900903ac61fca66385561e509e5 # system-login
|
||||
00a96973a16f8fb9aabb98bc1fad3d50470608fc87a03a20e1b5fc4c89b0b4c7 # system-login
|
||||
# 86365d603d4a50f30252888b6db8f0bb4b398900903ac61fca66385561e509e5 # system-login-arch
|
||||
005736b9bd650ff5e5d82a7e288853776d5bb8c90185d5774c07231c1e1c64a9 # system-remote-login
|
||||
6eb1acdd3fa9f71a7f93fbd529be57ea65bcafc6e3a98a06af4d88013fc6a567 # system-services
|
||||
d5ed59ec2157c19c87964a162f7ca84d53c19fb2bd68d3fbc1671ba8d906346f) # other
|
||||
|
||||
## 743aaca14134bf4a9ce8d137d04e6a672264f22e9d2171ebb826251575a2604c pambase-20230918-01-any.pkg.tar.lz
|
||||
|
||||
## 53da61c9888c9e0e15b5ca9aa35ae8447b84d854093df7394238b441d92ee286 # PKGBUILD
|
||||
57550530b88c1dd49c1f13e7251b89ea2e51ab1e13529436b910506b10e8a942 # PKGBUILD.1
|
||||
57550530b88c1dd49c1f13e7251b89ea2e51ab1e13529436b910506b10e8a942 # PKGBUILD-arch
|
||||
## d77b200117e25020cd6e977032f0cb28be6a8b7ce587c155ec32a09778a3ef26 pambase-20230918-02-x86_64.pkg.tar.lz
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
auth required pam_faillock.so preauth
|
||||
# Optionally use requisite above if you do not want to prompt for the password
|
||||
# on locked accounts.
|
||||
-auth [success=2 default=ignore] pam_systemd_home.so
|
||||
auth [success=1 default=bad] pam_unix.so try_first_pass nullok
|
||||
auth [default=die] pam_faillock.so authfail
|
||||
auth optional pam_permit.so
|
||||
|
@ -12,16 +11,13 @@ auth required pam_faillock.so authsucc
|
|||
# If you drop the above call to pam_faillock.so the lock will be done also
|
||||
# on non-consecutive authentication failures.
|
||||
|
||||
-account [success=1 default=ignore] pam_systemd_home.so
|
||||
account required pam_unix.so
|
||||
account optional pam_permit.so
|
||||
account required pam_time.so
|
||||
|
||||
-password [success=1 default=ignore] pam_systemd_home.so
|
||||
password required pam_unix.so try_first_pass nullok shadow sha512
|
||||
password required pam_unix.so try_first_pass nullok shadow
|
||||
password optional pam_permit.so
|
||||
|
||||
-session optional pam_systemd_home.so
|
||||
session required pam_limits.so
|
||||
session required pam_unix.so
|
||||
session optional pam_permit.so
|
||||
|
|
27
pambase/system-auth-arch
Normal file
27
pambase/system-auth-arch
Normal file
|
@ -0,0 +1,27 @@
|
|||
#%PAM-1.0
|
||||
|
||||
auth required pam_faillock.so preauth
|
||||
# Optionally use requisite above if you do not want to prompt for the password
|
||||
# on locked accounts.
|
||||
-auth [success=2 default=ignore] pam_systemd_home.so
|
||||
auth [success=1 default=bad] pam_unix.so try_first_pass nullok
|
||||
auth [default=die] pam_faillock.so authfail
|
||||
auth optional pam_permit.so
|
||||
auth required pam_env.so
|
||||
auth required pam_faillock.so authsucc
|
||||
# If you drop the above call to pam_faillock.so the lock will be done also
|
||||
# on non-consecutive authentication failures.
|
||||
|
||||
-account [success=1 default=ignore] pam_systemd_home.so
|
||||
account required pam_unix.so
|
||||
account optional pam_permit.so
|
||||
account required pam_time.so
|
||||
|
||||
-password [success=1 default=ignore] pam_systemd_home.so
|
||||
password required pam_unix.so try_first_pass nullok shadow sha512
|
||||
password optional pam_permit.so
|
||||
|
||||
-session optional pam_systemd_home.so
|
||||
session required pam_limits.so
|
||||
session required pam_unix.so
|
||||
session optional pam_permit.so
|
|
@ -16,5 +16,6 @@ session include system-auth
|
|||
session optional pam_motd.so
|
||||
session optional pam_mail.so dir=/var/spool/mail standard quiet
|
||||
session optional pam_umask.so
|
||||
-session optional pam_systemd.so
|
||||
session required pam_env.so
|
||||
session optional pam_rundir.so
|
||||
|
||||
|
|
20
pambase/system-login-arch
Normal file
20
pambase/system-login-arch
Normal file
|
@ -0,0 +1,20 @@
|
|||
#%PAM-1.0
|
||||
|
||||
auth required pam_shells.so
|
||||
auth requisite pam_nologin.so
|
||||
auth include system-auth
|
||||
|
||||
account required pam_access.so
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
|
||||
password include system-auth
|
||||
|
||||
session optional pam_loginuid.so
|
||||
session optional pam_keyinit.so force revoke
|
||||
session include system-auth
|
||||
session optional pam_motd.so
|
||||
session optional pam_mail.so dir=/var/spool/mail standard quiet
|
||||
session optional pam_umask.so
|
||||
-session optional pam_systemd.so
|
||||
session required pam_env.so
|
|
@ -6,8 +6,8 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=pcre2
|
||||
pkgver=10.43
|
||||
pkgrel=04
|
||||
pkgver=10.44
|
||||
pkgrel=01
|
||||
pkgdesc='A library that implements Perl 5-style regular expressions. 2nd version'
|
||||
url='https://github.com/PCRE2Project/pcre2'
|
||||
depends=('bzip2' 'glibc' 'readline' 'zlib')
|
||||
|
@ -16,20 +16,10 @@ provides=(libpcre2-{8,16,32,posix}.so)
|
|||
options=(staticlibs)
|
||||
#options=(debug staticlibs) ### uncomment this to have the corresponding debug pkg produced
|
||||
#source=("https://github.com/PhilipHazel/pcre2/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"{,.sig})
|
||||
source=("$url/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"{,.sig}
|
||||
fix-avx-detection.patch::"https://github.com/zherczeg/sljit/commit/56dbde07b05252f0b304b04040a86cfb9f109ae9.patch"
|
||||
fix-thread-safety.patch::"https://github.com/zherczeg/sljit/commit/ad89dd8ecd25589d236bd20b36f2abf69f938fd1.patch")
|
||||
source=("$url/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"{,.sig})
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
# Fix AVX detection
|
||||
# [PATCH] Add xgetbv feature detection support on x86
|
||||
patch -Np2 -i "$srcdir"/fix-avx-detection.patch -d src/sljit
|
||||
# Fix thread-safety issue in sljit's allocator
|
||||
# [PATCH] Fix locking region in sjlit_malloc_exec
|
||||
patch -Np2 -i "$srcdir"/fix-thread-safety.patch -d src/sljit
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -70,20 +60,12 @@ license=('BSD-3-Clause')
|
|||
|
||||
validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel <ph10@hermes.cam.ac.uk>
|
||||
|
||||
sha512sums=('ee91cc10a2962bc7818b03d368df3dd31f42ea9a7260ae51483ea8cd331b7431e36e63256b0adc213cc6d6741e7c90414fd420622308c0ae3fcb5dd878591be2'
|
||||
'SKIP')
|
||||
b2sums=('fb06228f8bdc5906ef4f19d7d677f1009070855149d9ad3f807cfcd164f5cb6165f96e074fedc3942226d4b29edf4b29fab6cde2f2ba58bf6da282730941412b'
|
||||
'SKIP')
|
||||
sha256sums=(d34f02e113cf7193a1ebf2770d3ac527088d485d4e047ed10e5d217c6ef5de96 # pcre2-10.44.tar.bz2
|
||||
df418f44905d5df54783a19724dce2355062a3eb75ee17aaae32bcb61aa26bde) # pcre2-10.44.tar.bz2.sig
|
||||
|
||||
sha512sums=('8ac1520c32e9e5672404aaf6104e23c9ee5c3c28ad28ff101435599d813cbb20e0491a3fd34e012b4411b3e0366a4c6dfa3f02d093acaa6ff0ab25478bb7ade9'
|
||||
'SKIP'
|
||||
'4379a06a142a9c9dc61298e86c722f1f2b6d83493acda8e472c866093b3e2192d315998c5a87dfd231739394d5c809c05415126084b18f80a002ee8861c0ed4f'
|
||||
'9548da45cb030f53b634a9ba340687d04bd6c5b88ffd78932f231a4092e5cc99b0698941fbd4f88d9a905bed0d0a85c5da697da9a531c4c4efc8f7578d0ffefe')
|
||||
b2sums=('f87f9f36dd6a806cdba1f077f51b53da2583f1898f83e41d594622b28ac8efbc1b2d122b752a9d6cd461fe0e3c7c85ee93358443df518a336da4ee9d72cca808'
|
||||
'SKIP'
|
||||
'736aa7eaa2ed571117f545ae78151fda6a5ef5935bf70f132b1d20d0ff6e46543194f409a02eac727a8209fb0d25e6870705e8a95b3feb07e799d288fd852822'
|
||||
'9ad1b0dca06cf3620158458e26c2007fb46990bdf178a75a621be5c665e8726990789510827829e9c480cbebee0b3b5da27f9857e3b19019307e4959671dfbac')
|
||||
|
||||
sha256sums=(e2a53984ff0b07dfdb5ae4486bbb9b21cca8e7df2434096cc9bf1b728c350bcb # pcre2-10.43.tar.bz2
|
||||
fe7a0bcafa5f4ee6d38b0a8c76a13c994e7effa19ef985bdf2c557e7362ab411 # pcre2-10.43.tar.bz2.sig
|
||||
edda6691b7d59cce485c099b48e8fa8fef0bf3ea2676cc7278181959edbdc83a # fix-avx-detection.patch
|
||||
ffe871ac795b15d3b8a9ae21624744535e8a6429958b9a784018226a08229f0e) # fix-thread-safety.patch
|
||||
|
||||
## f1855096adfdbdd795cccea0929f8b4babaa46756ca5d763a8b0632d5af34821 pcre2-10.43-04-x86_64.pkg.tar.lz
|
||||
## c46c74e99e69aec9b8c363de621fb0900e422fa3e4ff667a04f571b51c06ccbd pcre2-10.44-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
# Contributor: John Proctor <jproctor@prium.net>
|
||||
|
||||
pkgname=pcre2
|
||||
pkgver=10.43
|
||||
pkgrel=4
|
||||
pkgver=10.44
|
||||
pkgrel=1
|
||||
pkgdesc='A library that implements Perl 5-style regular expressions. 2nd version'
|
||||
arch=('x86_64')
|
||||
url='https://github.com/PCRE2Project/pcre2'
|
||||
|
@ -16,41 +16,31 @@ depends=('bzip2' 'glibc' 'readline' 'zlib')
|
|||
optdepends=('sh: for pcre2-config')
|
||||
provides=(libpcre2-{8,16,32,posix}.so)
|
||||
options=(staticlibs)
|
||||
source=("$url/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"{,.sig}
|
||||
https://github.com/zherczeg/sljit/commit/56dbde07b05252f0b304b04040a86cfb9f109ae9.patch
|
||||
https://github.com/zherczeg/sljit/commit/ad89dd8ecd25589d236bd20b36f2abf69f938fd1.patch)
|
||||
sha512sums=('8ac1520c32e9e5672404aaf6104e23c9ee5c3c28ad28ff101435599d813cbb20e0491a3fd34e012b4411b3e0366a4c6dfa3f02d093acaa6ff0ab25478bb7ade9'
|
||||
'SKIP'
|
||||
'4379a06a142a9c9dc61298e86c722f1f2b6d83493acda8e472c866093b3e2192d315998c5a87dfd231739394d5c809c05415126084b18f80a002ee8861c0ed4f'
|
||||
'9548da45cb030f53b634a9ba340687d04bd6c5b88ffd78932f231a4092e5cc99b0698941fbd4f88d9a905bed0d0a85c5da697da9a531c4c4efc8f7578d0ffefe')
|
||||
b2sums=('f87f9f36dd6a806cdba1f077f51b53da2583f1898f83e41d594622b28ac8efbc1b2d122b752a9d6cd461fe0e3c7c85ee93358443df518a336da4ee9d72cca808'
|
||||
'SKIP'
|
||||
'736aa7eaa2ed571117f545ae78151fda6a5ef5935bf70f132b1d20d0ff6e46543194f409a02eac727a8209fb0d25e6870705e8a95b3feb07e799d288fd852822'
|
||||
'9ad1b0dca06cf3620158458e26c2007fb46990bdf178a75a621be5c665e8726990789510827829e9c480cbebee0b3b5da27f9857e3b19019307e4959671dfbac')
|
||||
source=("$url/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"{,.sig})
|
||||
sha512sums=('ee91cc10a2962bc7818b03d368df3dd31f42ea9a7260ae51483ea8cd331b7431e36e63256b0adc213cc6d6741e7c90414fd420622308c0ae3fcb5dd878591be2'
|
||||
'SKIP')
|
||||
b2sums=('fb06228f8bdc5906ef4f19d7d677f1009070855149d9ad3f807cfcd164f5cb6165f96e074fedc3942226d4b29edf4b29fab6cde2f2ba58bf6da282730941412b'
|
||||
'SKIP')
|
||||
validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel <ph10@hermes.cam.ac.uk>
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
# Fix AVX detection
|
||||
# [PATCH] Add xgetbv feature detection support on x86
|
||||
patch -Np2 -i "$srcdir"/56dbde07b05252f0b304b04040a86cfb9f109ae9.patch -d src/sljit
|
||||
local configure_options=(
|
||||
--enable-jit
|
||||
--enable-pcre2-16
|
||||
--enable-pcre2-32
|
||||
--enable-pcre2grep-libbz2
|
||||
--enable-pcre2grep-libz
|
||||
--enable-pcre2test-libreadline
|
||||
--prefix=/usr
|
||||
)
|
||||
|
||||
# Fix thread-safety issue in sljit's allocator
|
||||
# [PATCH] Fix locking region in sjlit_malloc_exec
|
||||
patch -Np2 -i "$srcdir"/ad89dd8ecd25589d236bd20b36f2abf69f938fd1.patch -d src/sljit
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
# use fat LTO objects for static libraries
|
||||
CFLAGS+=" -ffat-lto-objects"
|
||||
CXXFLAGS+=" -ffat-lto-objects"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-pcre2-16 \
|
||||
--enable-pcre2-32 \
|
||||
--enable-jit \
|
||||
--enable-pcre2grep-libz \
|
||||
--enable-pcre2grep-libbz2 \
|
||||
--enable-pcre2test-libreadline
|
||||
./configure "${configure_options[@]}"
|
||||
make
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue