Compare commits
19
Commits
17c34102ff
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e77fee9fc3 | ||
|
|
4dfd5dcbc4 | ||
|
|
5093017838 | ||
|
|
ed20a37cc2 | ||
|
|
7706d5b7ad | ||
|
|
4db704467a | ||
|
|
ac931d97ed | ||
|
|
2b533c9298 | ||
|
|
fca06f50fe | ||
|
|
48b5c674b3 | ||
|
|
90917d95b7 | ||
|
|
924b3cafff | ||
|
|
01f47e6475 | ||
|
|
e9e3df0695 | ||
|
|
eb7fe5b277 | ||
|
|
9aa85bb01a | ||
|
|
a41bdc263e | ||
|
|
8dcbc5104e | ||
|
|
8d1d7a3ab8 |
No files matched your search
@@ -0,0 +1,19 @@
|
||||
name: Validate Package Build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
types: [opened, synchronized, reopened]
|
||||
|
||||
jobs:
|
||||
resolve-dependencies:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Echo Test
|
||||
shell: bash
|
||||
run: echo "Actions runner working"
|
||||
|
||||
|
||||
|
||||
|
||||
+3
-11
@@ -2,9 +2,6 @@ chroot
|
||||
*~
|
||||
*.kate-swp
|
||||
pkg
|
||||
src/**/*.gz
|
||||
src/**/*.xz
|
||||
src/**/*.log
|
||||
aur
|
||||
broke
|
||||
.SRCINFO
|
||||
@@ -13,11 +10,6 @@ build_single_nofail.sh
|
||||
ppa.cfg
|
||||
|
||||
src/doom-wads/*.WAD
|
||||
|
||||
# ignore all
|
||||
*
|
||||
|
||||
# except new PKGBUILDS
|
||||
!.gitignore
|
||||
!src/*/PKGBUILD
|
||||
|
||||
src/**/src/
|
||||
*.tar.gz
|
||||
*.tar.zst
|
||||
@@ -0,0 +1,54 @@
|
||||
_pkgname=biboumi
|
||||
pkgname="$_pkgname-git"
|
||||
pkgver=9.0.r83.gbf958d0
|
||||
pkgrel=1
|
||||
pkgdesc="XMPP gateway to IRC"
|
||||
arch=('x86_64' 'armv7h' 'aarch64')
|
||||
url="https://biboumi.codeberg.page/"
|
||||
license=('ZLIB')
|
||||
depends=('expat' 'libidn' 'udns' 'sqlite')
|
||||
makedepends=('git' 'cmake')
|
||||
backup=("etc/$_pkgname/$_pkgname.cfg")
|
||||
install="$_pkgname.install"
|
||||
source=("$_pkgname::git+https://codeberg.org/poezio/biboumi"
|
||||
'biboumi.install'
|
||||
'biboumi.sysusers')
|
||||
sha256sums=('SKIP'
|
||||
'7a50498d059e72b68a93057c51dc0766d9e39229f85da68721c78857ad8ce329'
|
||||
'910e6dc344c10f9ded3c5319592a5aaa1616d961d825e7392a40aa4b37c81174')
|
||||
|
||||
pkgver() {
|
||||
cd $_pkgname
|
||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
local cmake_options=(
|
||||
-B build
|
||||
-S $_pkgname
|
||||
-DCMAKE_BUILD_TYPE=None
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
-DSERVICE_USER=biboumi
|
||||
-DSERVICE_GROUP=jabber
|
||||
-DWITH_BOTAN=1
|
||||
-DWITH_LIBIDN=1
|
||||
-DWITH_SQLITE3=1
|
||||
-DWITH_UDNS=1
|
||||
-Wno-dev
|
||||
)
|
||||
|
||||
cmake "${cmake_options[@]}"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_pkgname
|
||||
install -dm755 "$pkgdir"/usr/share/doc/$_pkgname/
|
||||
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$_pkgname/LICENSE
|
||||
install -Dm644 doc/*.rst "$pkgdir"/usr/share/doc/$_pkgname/
|
||||
install -Dm644 conf/biboumi.cfg "$pkgdir"/etc/$_pkgname/$_pkgname.cfg
|
||||
cd ..
|
||||
install -Dm644 biboumi.sysusers "$pkgdir"/usr/lib/sysusers.d/$_pkgname.conf
|
||||
|
||||
DESTDIR="$pkgdir/" cmake --install build
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
post_install() {
|
||||
systemd-sysusers biboumi.conf
|
||||
install -dm750 -o biboumi -g jabber var/lib/biboumi
|
||||
install -dm750 -o biboumi -g jabber var/log/biboumi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
systemd-sysusers biboumi.conf
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
g jabber 17 - -
|
||||
u! biboumi - "Biboumi, XMPP gateway to IRC" /var/lib/biboumi
|
||||
m biboumi jabber
|
||||
@@ -0,0 +1,29 @@
|
||||
# WARNING: DRAFT ONLY - No idea if it actually builds yet
|
||||
_pkgname=slidge
|
||||
pkgname="python-$_pkgname-git"
|
||||
pkgver=0.1.0.r9.gc45818f
|
||||
pkgrel=1
|
||||
pkgdesc='XMPP puppeteer gateway library in python'
|
||||
arch=('x86_64' 'armv7h' 'aarch64')
|
||||
url="https://slidge.im/"
|
||||
license=('AGPL3')
|
||||
depends=('python>=3.11' 'python-slixmpp>=1.12.0' 'python-slixmpp<1.13.0' 'python-aiohttp>=3.11.11' 'python-aiohttp<4' 'python-qrcode>=8.0' 'python-qrcode<9.0' 'python-magic>=0.4.27' 'python-magic<0.5' 'python-configargparse>=1.7' 'python-configargparse<2' 'python-pillow>=11.0.0' 'python-pillow<12' 'python-alembic>=1.14.0' 'python-alembic<2' 'python-sqlalchemy>=2' 'python-sqlalchemy<3' 'python-defusedxml>=0.7.1' 'python-blurhash')
|
||||
# TODO: package python-thumbhash as python-blurhash replacement
|
||||
makedepends=('git' 'python-build' 'python-wheel' 'python-installer' 'python-setuptools')
|
||||
source=('git+https://codeberg.org/slidge/slidge')
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd $_pkgname
|
||||
git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_pkgname
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd slidge
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
_pkgname=thumbhash
|
||||
pkgname="python-$_pkgname"
|
||||
pkgver=0.1.2
|
||||
pkgrel=1
|
||||
pkgdesc='Python port of thumbhash, a very compact representation of an image placeholder'
|
||||
arch=('x86_64' 'aarch64')
|
||||
url="https://github.com/justinforlenza/thumbhash-py"
|
||||
license=('MIT')
|
||||
depends=('python-pillow')
|
||||
makedepends=(
|
||||
'python-build'
|
||||
'python-installer'
|
||||
'python-wheel'
|
||||
'python-hatchling'
|
||||
)
|
||||
checkdepends=('python-pytest')
|
||||
source=("https://github.com/justinforlenza/thumbhash-py/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz")
|
||||
sha256sums=('ef4e6398f93f3b5ad480dc8e3a3b3a200813c86a8857fb069f8478be809f8247')
|
||||
|
||||
build() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
# Maintainer: Mike Wilson <aur at mjwilson dot org>
|
||||
|
||||
pkgname=qui
|
||||
pkgver=1.13.1
|
||||
pkgrel=2
|
||||
pkgdesc="A fast, modern web interface for qBittorrent"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/autobrr/qui"
|
||||
license=('GPL-2.0-or-later')
|
||||
makedepends=('git' 'go>=1.25' 'nodejs' 'pnpm')
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
|
||||
"$pkgname.service"
|
||||
"$pkgname.sysusers"
|
||||
"$pkgname.tmpfiles")
|
||||
sha256sums=('e21834262b6d08c72fa057efd5ecfcea3b51b4fc16da6210d11b6f8e1eb8f821'
|
||||
'd52299510cf4845f0514eefd492b01c33bc2cd2819c2be9dc157f50f67462bd2'
|
||||
'149029ffcc078976e0ac6cd1f002b25221bb1561a1c979362dc27d9e6ad5dda3'
|
||||
'3bacde8867fbb7b6d566666b635589579c1cc079cd23418284f43a7b37f0c41b')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
mkdir -p build/
|
||||
|
||||
# Retrieve Go dependencies
|
||||
export GOPATH="$srcdir"
|
||||
# Don't proxy connection through Google
|
||||
export GOPROXY=direct
|
||||
go mod download -modcacherw
|
||||
|
||||
# Retrieve NodeJS dependencies
|
||||
cd web
|
||||
pnpm install
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
# Build frontend
|
||||
pnpm --dir web run build
|
||||
|
||||
# Set Go flags
|
||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -ldflags=-X=$url/internal/buildinfo.Version=$pkgver -mod=readonly -modcacherw"
|
||||
|
||||
# Build backend
|
||||
go build -o build ./cmd/...
|
||||
|
||||
# Generate shell completions
|
||||
"build/$pkgname" completion bash > bash_completion
|
||||
"build/$pkgname" completion zsh > zsh_completion
|
||||
"build/$pkgname" completion fish > fish_completion
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgname-$pkgver"
|
||||
go test ./...
|
||||
}
|
||||
|
||||
package() {
|
||||
# systemd files
|
||||
install -Dm755 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname.service"
|
||||
install -Dm755 $pkgname.sysusers "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
|
||||
install -Dm755 $pkgname.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
|
||||
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
# Binary
|
||||
install -Dm755 "build/$pkgname" "$pkgdir/usr/bin/$pkgname"
|
||||
|
||||
# Shell Completions
|
||||
install -Dm644 bash_completion "$pkgdir/usr/share/bash-completion/completions/$pkgname"
|
||||
install -Dm644 zsh_completion "$pkgdir/usr/share/zsh/site-functions/$pkgname"
|
||||
install -Dm644 fish_completion "$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish"
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
[Unit]
|
||||
Description=Modern alternative webUI for qBittorrent
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
Documentation=https://github.com/autobrr/qui
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=qui
|
||||
Group=qui
|
||||
Environment=HOME=/var/lib/qui
|
||||
WorkingDirectory=/var/lib/qui
|
||||
ExecStart=/usr/bin/qui serve
|
||||
Restart=on-failure
|
||||
|
||||
ProtectSystem=strict
|
||||
ReadWritePaths=/var/lib/qui
|
||||
ProtectHome=yes
|
||||
PrivateTmp=yes
|
||||
PrivateDevices=yes
|
||||
NoNewPrivileges=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectKernelTunables=yes
|
||||
ProtectControlGroups=yes
|
||||
CapabilityBoundingSet=
|
||||
LockPersonality=yes
|
||||
MemoryDenyWriteExecute=yes
|
||||
RestrictAddressFamilies=AF_INET AF_INET6
|
||||
SystemCallArchitectures=native
|
||||
SystemCallFilter=@system-service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1 @@
|
||||
u! qui - "qui user" /var/lib/qui
|
||||
@@ -0,0 +1 @@
|
||||
d /var/lib/qui 0750 qui qui
|
||||
@@ -0,0 +1,48 @@
|
||||
# Maintainer: fossdd <fossdd@pwned.life>
|
||||
|
||||
pkgname=redlib-git
|
||||
_pkgname=${pkgname%-git}
|
||||
pkgver=v0.29.4.r504.a4d36e9
|
||||
pkgrel=1
|
||||
pkgdesc="Private front-end for Reddit"
|
||||
url='https://github.com/redlib-org/redlib'
|
||||
license=(AGPL-3.0)
|
||||
arch=(x86_64)
|
||||
depends=()
|
||||
makedepends=(cargo git cmake make clang)
|
||||
provides=($_pkgname)
|
||||
conflicts=($_pkgname)
|
||||
backup=("etc/$_pkgname.conf")
|
||||
options=('!lto')
|
||||
source=("$pkgname::git+$url")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$pkgname"
|
||||
# Git, tags available
|
||||
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
|
||||
# Git, no tags available
|
||||
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
cargo fetch --target "$(rustc -vV | sed -n 's/host: //p')"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
export CARGO_TARGET_DIR=target
|
||||
cargo build --release --all-features
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
install -Dm755 "target/release/$_pkgname" -t "$pkgdir/usr/bin/"
|
||||
install -Dm644 'LICENSE' -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
install -Dm644 'README.md' -t "$pkgdir/usr/share/doc/$pkgname/"
|
||||
install -Dm644 "contrib/$_pkgname.service" -t "$pkgdir/usr/lib/systemd/system/"
|
||||
install -Dm644 "contrib/$_pkgname.conf" -t "$pkgdir/etc/"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
pkgbase = slidcord-git
|
||||
pkgdesc = A feature-rich Discord to XMPP gateway
|
||||
pkgver = r327.b3ad55d
|
||||
pkgrel = 1
|
||||
url = https://codeberg.org/slidge/slidcord
|
||||
arch = x86_64
|
||||
arch = armv7h
|
||||
arch = aarch64
|
||||
license = AGPL-3.0-or-later
|
||||
makedepends = git
|
||||
makedepends = python-setuptools
|
||||
makedepends = python-setuptools-scm
|
||||
depends = python
|
||||
depends = python-slidge
|
||||
depends = python-emoji
|
||||
depends = python-discord.py-self
|
||||
source = git+https://codeberg.org/slidge/slidcord
|
||||
source = slidcord.service
|
||||
source = slidcord.sysusers
|
||||
source = slidcord.tmpfiles
|
||||
sha256sums = SKIP
|
||||
sha256sums = 7d5091ec61bfb57e4e1a28726ca70b3c50b9f07a07cb0d6181d9bb39493c823d
|
||||
sha256sums = 11ec643e2bb3ff65455e5d966053be62141c51a7e2521ede76ce78034360ae74
|
||||
sha256sums = c7b387b8b2f2b266fcefb3f69552d605398858e378c0c88288ca6d371e605590
|
||||
|
||||
pkgname = slidcord-git
|
||||
@@ -0,0 +1,44 @@
|
||||
_pkgname=slidcord
|
||||
pkgname="$_pkgname-git"
|
||||
pkgver=r327.b3ad55d
|
||||
pkgrel=1
|
||||
pkgdesc='A feature-rich Discord to XMPP gateway'
|
||||
arch=('x86_64' 'armv7h' 'aarch64')
|
||||
url="https://codeberg.org/slidge/slidcord"
|
||||
license=('AGPL-3.0-or-later')
|
||||
depends=('python' 'python-slidge' 'python-emoji' 'python-discord.py-self')
|
||||
makedepends=('git' 'python-setuptools' 'python-setuptools-scm')
|
||||
source=(
|
||||
"git+$url"
|
||||
"$_pkgname.service"
|
||||
"$_pkgname.sysusers"
|
||||
"$_pkgname.tmpfiles"
|
||||
)
|
||||
sha256sums=('SKIP'
|
||||
'7d5091ec61bfb57e4e1a28726ca70b3c50b9f07a07cb0d6181d9bb39493c823d'
|
||||
'11ec643e2bb3ff65455e5d966053be62141c51a7e2521ede76ce78034360ae74'
|
||||
'c7b387b8b2f2b266fcefb3f69552d605398858e378c0c88288ca6d371e605590')
|
||||
|
||||
pkgver() {
|
||||
cd $_pkgname
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
git -C "${srcdir}/${_pkgname}" clean -dfx
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_pkgname
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
# systemd files
|
||||
install -Dm755 $_pkgname.service "$pkgdir/usr/lib/systemd/system/$_pkgname.service"
|
||||
install -Dm755 $_pkgname.sysusers "$pkgdir/usr/lib/sysusers.d/$_pkgname.conf"
|
||||
install -Dm755 $_pkgname.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/$_pkgname.conf"
|
||||
|
||||
cd $_pkgname
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
[Unit]
|
||||
Description=Discord XMPP gateway
|
||||
After=network.target
|
||||
Wants=network.target
|
||||
#Requires=prosody.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=slidcord
|
||||
Group=slidcord
|
||||
UMask=0027
|
||||
DynamicUser=yes
|
||||
RuntimeDirectory=slidcord
|
||||
StateDirectory=slidcord
|
||||
ExecStart=/usr/bin/slidcord
|
||||
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
PrivateDevices=true
|
||||
ProtectKernelModules=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectControlGroups=true
|
||||
PrivateTmp=true
|
||||
MountFlags=private
|
||||
NoNewPrivileges=true
|
||||
MemoryDenyWriteExecute=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1 @@
|
||||
u! slidcord - "slidcord user" /var/lib/slidcord
|
||||
@@ -0,0 +1 @@
|
||||
d /var/lib/slidcord 0750 slidcord slidcord
|
||||
Reference in new issue
Block a user