diff options
| author | Simeon Simeonov | 2026-04-16 22:56:44 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2026-04-16 22:56:44 +0200 |
| commit | 77e8a3d5f3ad74c438ce3c28d1ef589c3b4c3377 (patch) | |
| tree | a83c504922bbe0405c4cab812dad1e47bb6e487b | |
| parent | 40f79013ba600339a66b8443e2d3fcb7f3c67706 (diff) | |
Upgrade ettolkit 2.1.0 -> 2.2.0 and add i3lock-extended/PKGBUILD makepkg.conf sgsmirrorlist
| -rw-r--r-- | etoolkit/PKGBUILD | 14 | ||||
| -rw-r--r-- | i3lock-extended/PKGBUILD | 51 | ||||
| -rw-r--r-- | makepkg.conf | 165 | ||||
| -rw-r--r-- | sgsmirrorlist | 1 |
4 files changed, 222 insertions, 9 deletions
diff --git a/etoolkit/PKGBUILD b/etoolkit/PKGBUILD index e2aeac0..4194c70 100644 --- a/etoolkit/PKGBUILD +++ b/etoolkit/PKGBUILD | |||
| @@ -1,23 +1,19 @@ | |||
| 1 | # Maintainer: Simeon Simeonov <sgs( AT )pichoveDOTorg> | 1 | # Maintainer: Simeon Simeonov <sgs( AT )pichoveDOTorg> |
| 2 | 2 | ||
| 3 | pkgname=python-etoolkit | 3 | pkgname=python-etoolkit |
| 4 | pkgver=2.1.0 | 4 | pkgver=2.2.0 |
| 5 | pkgrel=1 | 5 | pkgrel=1 |
| 6 | arch=('any') | 6 | arch=('any') |
| 7 | url="https://github.com/blackm0re/etoolkit" | 7 | url="https://codeberg.org/sgs/etoolkit" |
| 8 | license=('GPL-3+') | 8 | license=('GPL-3+') |
| 9 | pkgdesc='A simple toolkit for setting environment variables in a flexible way' | 9 | pkgdesc='A simple toolkit for setting environment variables in a flexible way' |
| 10 | depends=('python' 'python-cryptography') | 10 | depends=('python' 'python-cryptography') |
| 11 | makedepends=('python-build' 'python-installer') | 11 | makedepends=('python-build' 'python-installer') |
| 12 | source=(https://github.com/blackm0re/etoolkit/releases/download/${pkgver}/etoolkit-$pkgver.tar.gz{,.asc}) | 12 | source=(https://codeberg.org/sgs/etoolkit/releases/download/${pkgver}/etoolkit-$pkgver.tar.gz{,.asc}) |
| 13 | b2sums=('fd0031acb84f53c524b7b7c5a4ac0ec421c74d6c9f5136719f9fce89c843c73d13a98d888d41891db75adc720ede945cbd40373e601cf9cb8e3ea78145ba4eab' 'fec3763023574f33d0d593d128b27d2584674f6525132f8f3664e9a10a0bd04cda3199d3ce716108b5a46cc0932545569ccaf8b4f1c33791340b15317ac402b7') | 13 | b2sums=('136b95de598add017b3dc9932af948cde6941e129d2e3e648eed49f558b763a546b3e26fbc62e61994eab738d2cf575379331bea16e46079c061614b89aed798' '356072987f46736b7675112bdc66c4379923b9518850113ffb49914ee00a309e248b8aecd7b15e3f06f12c55e8243cdc25c22f588d543e3390503f68776a6f42') |
| 14 | sha512sums=('43da4c1f14a2b5761ef21b961c6d4e72aa05d37b60c61ad80923eb764f6a84d5ee2d86f0ec8bf95e0b2b253b8c7bb21197bfd1ae58a1d97e5dbd14cc2ed36b16' 'd67fc0ddff3b54b9bb21f3a4cc1c5bbe8c25bb0d6e8c5f28b765edd3881a340ce75da654a11d0ca301962da570e1e89bc5697925b8f3f3312709d44629bbd941') | 14 | sha512sums=('9f7a32faae0bed92ab0a7476b2056bc900d810254b21b913fd4b60db81c08b1a9392f3d52eb1d1c1fe72819b9fd23477d202004dad6617fa11d55a57272e195a' '5fb3f6db9c930801f614d44fbd38aa54b46d5fde94f1d140fac72220d69ef9ed526129ca4fed0ab1dc6729c0f9dde5c81749062c04f025c83132b310ea717673') |
| 15 | validpgpkeys=('A6645797661E2F473DD3FF06BCE70555C3BB08F7') # Simeon Simeonov | 15 | validpgpkeys=('A6645797661E2F473DD3FF06BCE70555C3BB08F7') # Simeon Simeonov |
| 16 | 16 | ||
| 17 | # prepare() { | ||
| 18 | # cd "etoolkit-$pkgver" | ||
| 19 | # } | ||
| 20 | |||
| 21 | build() { | 17 | build() { |
| 22 | cd "etoolkit-$pkgver" | 18 | cd "etoolkit-$pkgver" |
| 23 | python -m build --wheel --no-isolation | 19 | python -m build --wheel --no-isolation |
diff --git a/i3lock-extended/PKGBUILD b/i3lock-extended/PKGBUILD new file mode 100644 index 0000000..4553e89 --- /dev/null +++ b/i3lock-extended/PKGBUILD | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | # Maintainer: Simeon Simeonov <sgs( AT )pichoveDOTorg> | ||
| 2 | |||
| 3 | pkgname=i3lock-extended | ||
| 4 | pkgver=3.2.15 | ||
| 5 | pkgrel=1 | ||
| 6 | pkgdesc='i3lock-extended - i3lock fork with additional functionality' | ||
| 7 | url='https://github.com/blackm0re/i3lock-extended' | ||
| 8 | arch=('x86_64') | ||
| 9 | license=('GPL-3+' 'BSD') | ||
| 10 | depends=( | ||
| 11 | 'cairo' 'libcairo.so' | ||
| 12 | 'glibc' | ||
| 13 | 'libev' 'libev.so' | ||
| 14 | 'libxcb' | ||
| 15 | 'libxkbcommon' 'libxkbcommon.so' | ||
| 16 | 'libxkbcommon-x11' 'libxkbcommon-x11.so' | ||
| 17 | 'pam' 'libpam.so' | ||
| 18 | 'xcb-util' | ||
| 19 | 'xcb-util-image' | ||
| 20 | 'xcb-util-xrm' | ||
| 21 | ) | ||
| 22 | makedepends=( | ||
| 23 | 'meson' | ||
| 24 | ) | ||
| 25 | options=('docs') | ||
| 26 | backup=('etc/pam.d/i3lock-extended') | ||
| 27 | source=(https://github.com/blackm0re/i3lock-extended/releases/download/${pkgver}/$pkgname-$pkgver.tar.xz{,.asc}) | ||
| 28 | |||
| 29 | b2sums=('001917e98564cdae8834142acfbf6e5424c041f6a96eb8e55017d414eda6d6f70068305bef2213295da6577dd8f16a6a9ff322705f9f0c563d7471097c906c83' 'cbcc71c7c22cfe0d5af3db3e490d7d0d550409b3588cc4e5f526923ea542cffc1c4b85ffe4c89eb236d3f2651dd5c51a0e4c94f72b2848210880be4e003a776c') | ||
| 30 | sha512sums=('b1b4c15fb7c03fb3dce036d9bb7f41e4702a0de4f4f4820a7d1dbe36f3b62007469f4c6b9b942788da5e905adf94ea4c831844924d019f20b5b126eb3b82af2f' '651b29cbe355c132eeb20d58a2d8f915f56c3cdb9336304475a1136807b96f31acf56b208f386515eb93f6eda944ef4c69efb82f39a20604627e7cc988ee3f12') | ||
| 31 | validpgpkeys=('A6645797661E2F473DD3FF06BCE70555C3BB08F7') # Simeon Simeonov | ||
| 32 | |||
| 33 | prepare() { | ||
| 34 | cd ${pkgname}-${pkgver} | ||
| 35 | |||
| 36 | # Fix ticket FS#31544, sed line taken from gentoo | ||
| 37 | sed -i -e 's:login:system-auth:' pam/i3lock-extended | ||
| 38 | } | ||
| 39 | |||
| 40 | build() { | ||
| 41 | arch-meson $pkgname-$pkgver build | ||
| 42 | meson compile -C build | ||
| 43 | } | ||
| 44 | |||
| 45 | package() { | ||
| 46 | DESTDIR="$pkgdir" meson install -C build | ||
| 47 | |||
| 48 | cd ${pkgname}-${pkgver} | ||
| 49 | install -Dm 644 i3lock-extended.1 -t "${pkgdir}/usr/share/man/man1" | ||
| 50 | install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" | ||
| 51 | } | ||
diff --git a/makepkg.conf b/makepkg.conf new file mode 100644 index 0000000..0aa61a5 --- /dev/null +++ b/makepkg.conf | |||
| @@ -0,0 +1,165 @@ | |||
| 1 | #!/hint/bash | ||
| 2 | # shellcheck disable=2034 | ||
| 3 | |||
| 4 | # | ||
| 5 | # /etc/makepkg.conf | ||
| 6 | # | ||
| 7 | |||
| 8 | ######################################################################### | ||
| 9 | # SOURCE ACQUISITION | ||
| 10 | ######################################################################### | ||
| 11 | # | ||
| 12 | #-- The download utilities that makepkg should use to acquire sources | ||
| 13 | # Format: 'protocol::agent' | ||
| 14 | DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u' | ||
| 15 | 'ftp::/usr/bin/curl -qgfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' | ||
| 16 | 'http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' | ||
| 17 | 'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' | ||
| 18 | 'rsync::/usr/bin/rsync --no-motd -z %u %o' | ||
| 19 | 'scp::/usr/bin/scp -C %u %o') | ||
| 20 | |||
| 21 | # Other common tools: | ||
| 22 | # /usr/bin/snarf | ||
| 23 | # /usr/bin/lftpget -c | ||
| 24 | # /usr/bin/wget | ||
| 25 | |||
| 26 | #-- The package required by makepkg to download VCS sources | ||
| 27 | # Format: 'protocol::package' | ||
| 28 | VCSCLIENTS=('bzr::breezy' | ||
| 29 | 'fossil::fossil' | ||
| 30 | 'git::git' | ||
| 31 | 'hg::mercurial' | ||
| 32 | 'svn::subversion') | ||
| 33 | |||
| 34 | ######################################################################### | ||
| 35 | # ARCHITECTURE, COMPILE FLAGS | ||
| 36 | ######################################################################### | ||
| 37 | # | ||
| 38 | CARCH="x86_64" | ||
| 39 | CHOST="x86_64-pc-linux-gnu" | ||
| 40 | |||
| 41 | #-- Compiler and Linker Flags | ||
| 42 | #CPPFLAGS="" | ||
| 43 | CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \ | ||
| 44 | -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \ | ||
| 45 | -fstack-clash-protection -fcf-protection \ | ||
| 46 | -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" | ||
| 47 | CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS" | ||
| 48 | LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \ | ||
| 49 | -Wl,-z,pack-relative-relocs" | ||
| 50 | LTOFLAGS="-flto=auto" | ||
| 51 | #-- Make Flags: change this for DistCC/SMP systems | ||
| 52 | #MAKEFLAGS="-j2" | ||
| 53 | #-- Debugging flags | ||
| 54 | DEBUG_CFLAGS="-g" | ||
| 55 | DEBUG_CXXFLAGS="$DEBUG_CFLAGS" | ||
| 56 | |||
| 57 | ######################################################################### | ||
| 58 | # BUILD ENVIRONMENT | ||
| 59 | ######################################################################### | ||
| 60 | # | ||
| 61 | # Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign) | ||
| 62 | # A negated environment option will do the opposite of the comments below. | ||
| 63 | # | ||
| 64 | #-- distcc: Use the Distributed C/C++/ObjC compiler | ||
| 65 | #-- color: Colorize output messages | ||
| 66 | #-- ccache: Use ccache to cache compilation | ||
| 67 | #-- check: Run the check() function if present in the PKGBUILD | ||
| 68 | #-- sign: Generate PGP signature file | ||
| 69 | # | ||
| 70 | BUILDENV=(!distcc color !ccache check sign) | ||
| 71 | # | ||
| 72 | #-- If using DistCC, your MAKEFLAGS will also need modification. In addition, | ||
| 73 | #-- specify a space-delimited list of hosts running in the DistCC cluster. | ||
| 74 | #DISTCC_HOSTS="" | ||
| 75 | # | ||
| 76 | #-- Specify a directory for package building. | ||
| 77 | #BUILDDIR=/tmp/makepkg | ||
| 78 | |||
| 79 | ######################################################################### | ||
| 80 | # GLOBAL PACKAGE OPTIONS | ||
| 81 | # These are default values for the options=() settings | ||
| 82 | ######################################################################### | ||
| 83 | # | ||
| 84 | # Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto !autodeps) | ||
| 85 | # A negated option will do the opposite of the comments below. | ||
| 86 | # | ||
| 87 | #-- strip: Strip symbols from binaries/libraries | ||
| 88 | #-- docs: Save doc directories specified by DOC_DIRS | ||
| 89 | #-- libtool: Leave libtool (.la) files in packages | ||
| 90 | #-- staticlibs: Leave static library (.a) files in packages | ||
| 91 | #-- emptydirs: Leave empty directories in packages | ||
| 92 | #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip | ||
| 93 | #-- purge: Remove files specified by PURGE_TARGETS | ||
| 94 | #-- debug: Add debugging flags as specified in DEBUG_* variables | ||
| 95 | #-- lto: Add compile flags for building with link time optimization | ||
| 96 | #-- autodeps: Automatically add depends/provides | ||
| 97 | # | ||
| 98 | OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto) | ||
| 99 | |||
| 100 | #-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2 | ||
| 101 | INTEGRITY_CHECK=(sha256) | ||
| 102 | #-- Options to be used when stripping binaries. See `man strip' for details. | ||
| 103 | STRIP_BINARIES="--strip-all" | ||
| 104 | #-- Options to be used when stripping shared libraries. See `man strip' for details. | ||
| 105 | STRIP_SHARED="--strip-unneeded" | ||
| 106 | #-- Options to be used when stripping static libraries. See `man strip' for details. | ||
| 107 | STRIP_STATIC="--strip-debug" | ||
| 108 | #-- Manual (man and info) directories to compress (if zipman is specified) | ||
| 109 | MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info}) | ||
| 110 | #-- Doc directories to remove (if !docs is specified) | ||
| 111 | DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc}) | ||
| 112 | #-- Files to be removed from all packages (if purge is specified) | ||
| 113 | PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod) | ||
| 114 | #-- Directory to store source code in for debug packages | ||
| 115 | DBGSRCDIR="/usr/src/debug" | ||
| 116 | #-- Prefix and directories for library autodeps | ||
| 117 | LIB_DIRS=('lib:usr/lib' 'lib32:usr/lib32') | ||
| 118 | |||
| 119 | ######################################################################### | ||
| 120 | # PACKAGE OUTPUT | ||
| 121 | ######################################################################### | ||
| 122 | # | ||
| 123 | # Default: put built package and cached source in build directory | ||
| 124 | # | ||
| 125 | #-- Destination: specify a fixed directory where all packages will be placed | ||
| 126 | PKGDEST=/home/sgs/pkg/pkgdest | ||
| 127 | #-- Source cache: specify a fixed directory where source files will be cached | ||
| 128 | SRCDEST=/home/sgs/pkg/srcdest | ||
| 129 | #-- Source packages: specify a fixed directory where all src packages will be placed | ||
| 130 | #SRCPKGDEST=/home/srcpackages | ||
| 131 | #-- Log files: specify a fixed directory where all log files will be placed | ||
| 132 | LOGDEST=/home/sgs/pkg/logs | ||
| 133 | #-- Packager: name/email of the person or organization building packages | ||
| 134 | PACKAGER="Simeon Simeonov <sgs@pichove.org>" | ||
| 135 | #-- Specify a key to use for package signing | ||
| 136 | GPGKEY="A6645797661E2F473DD3FF06BCE70555C3BB08F7" | ||
| 137 | |||
| 138 | ######################################################################### | ||
| 139 | # COMPRESSION DEFAULTS | ||
| 140 | ######################################################################### | ||
| 141 | # | ||
| 142 | COMPRESSGZ=(gzip -c -f -n) | ||
| 143 | COMPRESSBZ2=(bzip2 -c -f) | ||
| 144 | COMPRESSXZ=(xz -c -z -) | ||
| 145 | COMPRESSZST=(zstd -c -T0 -) | ||
| 146 | COMPRESSLRZ=(lrzip -q) | ||
| 147 | COMPRESSLZO=(lzop -q) | ||
| 148 | COMPRESSZ=(compress -c -f) | ||
| 149 | COMPRESSLZ4=(lz4 -q) | ||
| 150 | COMPRESSLZ=(lzip -c -f) | ||
| 151 | |||
| 152 | ######################################################################### | ||
| 153 | # EXTENSION DEFAULTS | ||
| 154 | ######################################################################### | ||
| 155 | # | ||
| 156 | PKGEXT='.pkg.tar.zst' | ||
| 157 | SRCEXT='.src.tar.gz' | ||
| 158 | |||
| 159 | ######################################################################### | ||
| 160 | # OTHER | ||
| 161 | ######################################################################### | ||
| 162 | # | ||
| 163 | #-- Command used to run pacman as root, instead of trying sudo and su | ||
| 164 | #PACMAN_AUTH=() | ||
| 165 | # vim: set ft=sh ts=2 sw=2 et: | ||
diff --git a/sgsmirrorlist b/sgsmirrorlist new file mode 100644 index 0000000..b100bd5 --- /dev/null +++ b/sgsmirrorlist | |||
| @@ -0,0 +1 @@ | |||
| Server = https://pkg.pichove.org/archlinux/$repo/os/$arch | |||
