rm python-frida python-frida-tools python-pfzy sing-box-git sing-geoip sing-geosite nebula-bgme

rm ipfs-cluster-bin python-inquirerpy zotero ventoy
This commit is contained in:
bgme 2024-12-20 23:40:30 +08:00
parent 3ce21a947f
commit 1d6685992f
31 changed files with 0 additions and 2199 deletions

View file

@ -1,26 +0,0 @@
# Maintainer: @RubenKelevra <cyrond@gmail.com>
# Contributor: Moritz Hedtke alias mohe <Moritz.Hedtke@t-online.de>
pkgname=ipfs-cluster-bin
pkgver=1.0.6
pkgrel=2
epoch=1
changelog=changelog
pkgdesc="ipfs-cluster-service, ipfs-cluster-ctl, ipfs-cluster-follow"
arch=('x86_64')
url=https://github.com/ipfs/ipfs-cluster
depends=('glibc')
license=('MIT' 'APACHE')
source=("https://dist.ipfs.io/ipfs-cluster-service/v${pkgver}/ipfs-cluster-service_v${pkgver}_linux-amd64.tar.gz"
"https://dist.ipfs.io/ipfs-cluster-ctl/v${pkgver}/ipfs-cluster-ctl_v${pkgver}_linux-amd64.tar.gz"
"https://dist.ipfs.io/ipfs-cluster-follow/v${pkgver}/ipfs-cluster-follow_v${pkgver}_linux-amd64.tar.gz")
b2sums=('ba73bc1e8be8fcd9ac62ded8daa085437660dc56361e9cbe3137c8b469d65ddc35279f4898e844d0a7867e65a32ffcc56a340c4e832db2012a5cb36e9f3c26e1'
'6083c73be801ae607f1f8f2f6ff775a2d59b219f3b25410a1cb42f6d4d30cd568e413ff02e5d26a478cdfa4e540f7e3509933c047267cc662089d8f252e13deb'
'f20170f40c3e8272e1257270ec7b72e99fae8031a9a337b0847db518ceeb23b8c8021df5c90eff0d8ac894a42ca943016d106b459c901b9070c0ccb1f894e9f9')
package() {
install -Dm755 ipfs-cluster-service/ipfs-cluster-service "$pkgdir/usr/bin/ipfs-cluster-service"
install -Dm755 ipfs-cluster-ctl/ipfs-cluster-ctl "$pkgdir/usr/bin/ipfs-cluster-ctl"
install -Dm755 ipfs-cluster-follow/ipfs-cluster-follow "$pkgdir/usr/bin/ipfs-cluster-follow"
install -Dm644 ipfs-cluster-ctl/LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

View file

@ -1,25 +0,0 @@
# Version 1.0.6
## List of changes
### REST API
No changes.
### Pinning Service API
No changes.
### IPFS Proxy API
No changes.
### Go APIs
No relevant changes.
### Other
The `--datastore` flag to `ipfs-cluster-service init` now defaults to `pebble`
in most platforms, and to `badger3` in those where Pebble is not supported
(arm, 386).

View file

@ -1,13 +0,0 @@
maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
pre_build: aur_pre_build
post_build: aur_post_build
update_on:
- source: aur
aur: ipfs-cluster-bin

View file

@ -1,51 +0,0 @@
# Maintainer: Robin Broda <coderobe @ archlinux.org>
pkgname=nebula-bgme
_pkgname=nebula
pkgver=1.8.2
pkgrel=1
pkgdesc='A scalable overlay networking tool with a focus on performance, simplicity and security'
arch=('x86_64')
url='https://github.com/slackhq/nebula'
license=('MIT')
depends=()
makedepends=('go' 'jq')
options=('!lto')
conflicts=('nebula')
provides=('nebula')
source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('203713c58d0ec8a10df2f605af791a77a33f825454911ac3a5313ced591547fd')
build() {
cd "${_pkgname}-${pkgver}"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
for bin in nebula{,-cert,-service}; do
go build \
-ldflags "-X main.Build=${pkgver}" \
-o "${bin}" "./cmd/${bin}"
done
}
check() {
cd "${_pkgname}-${pkgver}"
go test -v ./...
}
package() {
cd "${_pkgname}-${pkgver}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
install -Dm644 dist/arch/nebula.service "${pkgdir}/usr/lib/systemd/system/nebula.service"
mkdir -p "${pkgdir}/etc/nebula"
for bin in nebula{,-cert,-service}; do
install -Dm755 "${bin}" "${pkgdir}/usr/bin/${bin}"
done
}

View file

@ -1,18 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def get_latest_release_tag():
resp = s.get(
'https://api.github.com/repos/slackhq/nebula/releases/latest'
)
body = resp.json()
return body["tag_name"]
def pre_build():
tag = get_latest_release_tag()
pkgver = tag.lstrip('v')
update_pkgver_and_pkgrel(pkgver, updpkgsums=True)

View file

@ -1,12 +0,0 @@
maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
post_build: git_pkgbuild_commit
update_on:
- source: github
github: slackhq/nebula
use_latest_release: true

View file

@ -1,50 +0,0 @@
wxWindows Library Licence, Version 3.1
======================================
Copyright (c) 1998-2005 Julian Smart, Robert Roebling et al
Everyone is permitted to copy and distribute verbatim copies
of this licence document, but changing it is not allowed.
WXWINDOWS LIBRARY LICENCE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public Licence as published by
the Free Software Foundation; either version 2 of the Licence, or (at your
option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
Licence for more details.
You should have received a copy of the GNU Library General Public Licence
along with this software, usually in a file named COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
Floor, Boston, MA 02110-1301 USA.
EXCEPTION NOTICE
1. As a special exception, the copyright holders of this library give
permission for additional uses of the text contained in this release of the
library as licenced under the wxWindows Library Licence, applying either
version 3.1 of the Licence, or (at your option) any later version of the
Licence as published by the copyright holders of version 3.1 of the Licence
document.
2. The exception is that you may use, copy, link, modify and distribute
under your own terms, binary object code versions of works based on the
Library.
3. If you copy code from files distributed under the terms of the GNU
General Public Licence or the GNU Library General Public Licence into a
copy of this library, as this licence permits, the exception does not apply
to the code that you add in this way. To avoid misleading anyone as to the
status of such modified files, you must delete this exception notice from
such code and/or adjust the licensing conditions notice accordingly.
4. If you write modifications of your own for this library, it is your
choice whether to permit this exception to apply to your modifications. If
you do not wish that, you must delete the exception notice from such code
and/or adjust the licensing conditions notice accordingly.

View file

@ -1,32 +0,0 @@
# Maintainer: kriskras99 <admin at kriskras99 dot nl>
# Contributor: Ali Molaei <ali dot molaei at protonmail dot com>
# Contributor: algebro <algebro at tuta dot io>
_pkgname=frida-tools
pkgname=python-$_pkgname
pkgver=12.3.0
pkgrel=4
pkgdesc="CLI tools for Frida. Python 3 version from PyPi."
arch=('i686' 'x86_64')
url="http://www.frida.re"
license=('wxWindows Library License, Version 3.1')
depends=('python' 'python-pygments>=2.15.1' 'python-colorama>=0.4.6' 'python-frida>=16.1.4' 'python-prompt_toolkit>=3.0.38')
# Sourced from https://pypi.org/project/frida-tools/#files
source=("https://files.pythonhosted.org/packages/source/f/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
"COPYING")
sha256sums=('8edc67d1ae3792ff5b2dc63508cde4d247f92b7d0d7bf153d74a21a6d58dc045'
'5ea1544b51a28bc823b03159190d4108f9fb4f4ef912389f5137c6d295e175b2')
conflicts=("python2-${_pkgname}")
build() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --root=$pkgdir --optimize=1 --skip-build
cd "$srcdir"
install -d "$pkgdir/usr/share/licenses/$pkgname"
install -m 644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/"
}

View file

@ -1,18 +0,0 @@
maintainers:
- github: yingziwu
email: i@bgme.me
repo_depends:
- python-frida
build_prefix: extra-x86_64
pre_build: aur_pre_build
post_build: aur_post_build
update_on:
- source: aur
aur: python-frida-tools
- source: alpm
alpm: python

View file

@ -1,50 +0,0 @@
wxWindows Library Licence, Version 3.1
======================================
Copyright (c) 1998-2005 Julian Smart, Robert Roebling et al
Everyone is permitted to copy and distribute verbatim copies
of this licence document, but changing it is not allowed.
WXWINDOWS LIBRARY LICENCE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public Licence as published by
the Free Software Foundation; either version 2 of the Licence, or (at your
option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
Licence for more details.
You should have received a copy of the GNU Library General Public Licence
along with this software, usually in a file named COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
Floor, Boston, MA 02110-1301 USA.
EXCEPTION NOTICE
1. As a special exception, the copyright holders of this library give
permission for additional uses of the text contained in this release of the
library as licenced under the wxWindows Library Licence, applying either
version 3.1 of the Licence, or (at your option) any later version of the
Licence as published by the copyright holders of version 3.1 of the Licence
document.
2. The exception is that you may use, copy, link, modify and distribute
under your own terms, binary object code versions of works based on the
Library.
3. If you copy code from files distributed under the terms of the GNU
General Public Licence or the GNU Library General Public Licence into a
copy of this library, as this licence permits, the exception does not apply
to the code that you add in this way. To avoid misleading anyone as to the
status of such modified files, you must delete this exception notice from
such code and/or adjust the licensing conditions notice accordingly.
4. If you write modifications of your own for this library, it is your
choice whether to permit this exception to apply to your modifications. If
you do not wish that, you must delete the exception notice from such code
and/or adjust the licensing conditions notice accordingly.

View file

@ -1,51 +0,0 @@
# Maintainer: kriskras99 <admin at kriskras99 dot nl>
# Contributor: Ali Molaei <ali dot molaei at protonmail dot com>
# Contributor: algebro <algebro at tuta dot io>
_pkgname=frida
pkgname=python-$_pkgname
pkgver=16.2.1
pkgrel=3
pkgdesc="Inject JavaScript to explore native apps on Windows, Mac, Linux, iOS and Android. Python 3 version from PyPi"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://www.frida.re"
license=('custom:wxWindows Library License, Version 3.1')
depends=('python'
'python-setuptools')
optdepends=('python-typing_extensions: for Python <3.8'
'rustup: for injecting Rust code into targets')
# Sourced from https://pypi.org/project/frida/#files
source=("https://files.pythonhosted.org/packages/source/f/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
"COPYING")
# Sourced from https://github.com/frida/frida/releases
source_i686=("frida-core-devkit-${pkgver}-linux.tar.xz::https://github.com/frida/frida/releases/download/${pkgver}/frida-core-devkit-${pkgver}-linux-x86.tar.xz")
source_x86_64=("frida-core-devkit-${pkgver}-linux.tar.xz::https://github.com/frida/frida/releases/download/${pkgver}/frida-core-devkit-${pkgver}-linux-x86_64.tar.xz")
source_armv7h=("frida-core-devkit-${pkgver}-linux.tar.xz::https://github.com/frida/frida/releases/download/${pkgver}/frida-core-devkit-${pkgver}-linux-armhf.tar.xz")
source_aarch64=("frida-core-devkit-${pkgver}-linux.tar.xz::https://github.com/frida/frida/releases/download/${pkgver}/frida-core-devkit-${pkgver}-linux-arm64.tar.xz")
sha256sums=('64a011825ea21a5ed3e3d7589f04c1dec473e1a083beb4c57895dddf32caa7c9'
'5ea1544b51a28bc823b03159190d4108f9fb4f4ef912389f5137c6d295e175b2')
sha256sums_i686=('60a7bc73333fb3a31290705827b06e3d240aeb9991ebfdc28ca51909ccbcd275')
sha256sums_x86_64=('ee2a6dc24f996bd0208d7d6b518b6f8bd45283cdb71d5f206bb1b4f40ea32265')
sha256sums_armv7h=('4d8491ce055bb665f8dcb6a281f7b298517ca02cf5c86145b2a3179651de99fc')
sha256sums_aarch64=('58815c55f1c4be0dfc14b38e3c2cdb9f0dfb810a0d85e5d8ecca3a89f541de03')
noextract=("frida-core-devkit-${pkgver}-linux.tar.xz")
conflicts=("python2-${_pkgname}")
prepare() {
mkdir "$srcdir/frida-core-devkit-${pkgver}-linux"
bsdtar -x --cd "$srcdir/frida-core-devkit-${pkgver}-linux" -f "frida-core-devkit-${pkgver}-linux.tar.xz"
}
build() {
cd "$srcdir/$_pkgname-$pkgver"
FRIDA_CORE_DEVKIT="../frida-core-devkit-${pkgver}-linux" python setup.py build
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
FRIDA_CORE_DEVKIT="../frida-core-devkit-${pkgver}-linux" python setup.py install --root=$pkgdir --optimize=1 --skip-build
cd "$srcdir"
install -d "$pkgdir/usr/share/licenses/$pkgname"
install -m 644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/"
}

View file

@ -1,15 +0,0 @@
maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
pre_build: aur_pre_build
post_build: aur_post_build
update_on:
- source: aur
aur: python-frida
- source: alpm
alpm: python

View file

@ -1,24 +0,0 @@
pkgbase='python-inquirerpy'
pkgname=('python-inquirerpy')
_module='InquirerPy'
pkgver='0.3.4'
pkgrel=9
pkgdesc="Python port of Inquirer.js (A collection of common interactive command-line user interfaces)"
url="https://github.com/kazhala/InquirerPy"
depends=('python' 'python-pfzy' 'python-prompt_toolkit')
makedepends=('python-build' 'python-installer' 'python-poetry-core' 'python-wheel')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('89d2ada0111f337483cb41ae31073108b2ec1e618a49d7110b0d7ade89fc197e')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_module}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/inquirerpy-${pkgver}-py3-none-any.whl
}

View file

@ -1,18 +0,0 @@
maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
repo_depends:
- python-pfzy
pre_build: aur_pre_build
post_build: aur_post_build
update_on:
- source: aur
aur: python-inquirerpy
- source: alpm
alpm: python

View file

@ -1,23 +0,0 @@
pkgbase='python-pfzy'
pkgname=('python-pfzy')
_module='pfzy'
pkgver='0.3.4'
pkgrel=6
pkgdesc="Python port of the fzy fuzzy string matching algorithm"
url="https://github.com/kazhala/pfzy"
depends=('python')
makedepends=('python-build' 'python-installer' 'python-poetry-core' 'python-wheel')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('717ea765dd10b63618e7298b2d98efd819e0b30cd5905c9707223dceeb94b3f1')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_module}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}

View file

@ -1,15 +0,0 @@
maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
pre_build: aur_pre_build
post_build: aur_post_build
update_on:
- source: aur
aur: python-pfzy
- source: alpm
alpm: python

View file

@ -1,30 +0,0 @@
diff --git a/sing-box.service b/sing-box.service
--- a/sing-box.service
+++ b/sing-box.service
@@ -4,9 +4,10 @@ Documentation=https://sing-box.sagernet.org
After=network.target nss-lookup.target
[Service]
+User=sing-box
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_SYS_PTRACE CAP_DAC_READ_SEARCH
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_SYS_PTRACE CAP_DAC_READ_SEARCH
-ExecStart=/usr/bin/sing-box -D /var/lib/sing-box -C /etc/sing-box run
+ExecStart=/usr/bin/sing-box -D /var/lib/sing-box/sing-box -C /etc/sing-box run
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=10s
diff --git a/sing-box@.service b/sing-box@.service
--- a/sing-box@.service
+++ b/sing-box@.service
@@ -4,9 +4,10 @@ Documentation=https://sing-box.sagernet.org
After=network.target nss-lookup.target
[Service]
+User=sing-box
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_SYS_PTRACE CAP_DAC_READ_SEARCH
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_SYS_PTRACE CAP_DAC_READ_SEARCH
-ExecStart=/usr/bin/sing-box -D /var/lib/sing-box-%i -c /etc/sing-box/%i.json run
+ExecStart=/usr/bin/sing-box -D /var/lib/sing-box/sing-box-%i -c /etc/sing-box/%i.json run
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=10s

View file

@ -1,92 +0,0 @@
# Maintainer: BGME <i@bgme.me>
# Contributor: everyx <lunt.luo@gmail.com>
pkgname=sing-box-git
_pkgname=sing-box
pkgver=202406240817.53305384
pkgrel=1
pkgdesc='The universal proxy platform (git version).'
arch=('x86_64' 'i686')
url='https://sing-box.sagernet.org/'
license=('GPL3')
provides=("${_pkgname}")
conflicts=("sing-box" "sing-box-beta")
makedepends=('go' 'git' 'patch')
optdepends=(
'sing-geosite: sing-geosite database'
'sing-geoip: sing-geoip database'
)
backup=("etc/${_pkgname}/config.json")
source=(
"${_pkgname}::git+https://github.com/SagerNet/sing-box.git#branch=dev-next"
"sing-box.sysusers"
"sing-box.tmpfiles"
"0001-sing-box-service.patch"
)
sha256sums=(
'SKIP'
'35b9966604f3e5cf2acf9b86a7a1826b73829d59e04f283acaf89e84d9f4f4f7'
'83f27690c2b37823b4de56d890462ac32118c6984554e32b4f6d25b93426a94f'
'b7a21a59ce2ec82fdded6b8a9e337c4f43e85a0688ad4a26f0f601aefa44dc54'
)
pkgver() {
cd "${srcdir}/${_pkgname}"
echo "$(TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d%H%M HEAD).$(git rev-parse --short HEAD)"
}
_tags=with_gvisor,with_quic,with_dhcp,with_wireguard,with_ech,with_utls,with_reality_server,with_acme,with_clash_api
build() {
cd "${srcdir}/${_pkgname}"
export COMMIT=$(git rev-parse --short HEAD)
export VERSION=$(go run ./cmd/internal/read_tag)
export CGO_CPPFLAGS="$CPPFLAGS"
export CGO_CFLAGS="$CFLAGS"
export CGO_CXXFLAGS="$CXXFLAGS"
export CGO_LDFLAGS="$LDFLAGS"
go build \
-v \
-trimpath \
-buildmode=pie \
-mod=readonly \
-modcacherw \
-tags "$_tags" \
-ldflags "
-X \"github.com/sagernet/sing-box/constant.Version=$VERSION\"
-s -w -buildid=
-linkmode=external" \
./cmd/sing-box
mkdir completions
go run ./cmd/sing-box completion bash > completions/bash
go run ./cmd/sing-box completion fish > completions/fish
go run ./cmd/sing-box completion zsh > completions/zsh
cd release/config/
patch -p1 <"${srcdir}/0001-sing-box-service.patch"
}
package() {
cd "${srcdir}/${_pkgname}"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${_pkgname}"
install -Dm755 "${_pkgname}" -t "${pkgdir}/usr/bin"
install -Dm644 "release/config/config.json" -t "${pkgdir}/etc/${_pkgname}"
install -Dm644 "release/config/${_pkgname}.service" -t "${pkgdir}/usr/lib/systemd/system"
install -Dm644 "release/config/${_pkgname}@.service" -t "${pkgdir}/usr/lib/systemd/system"
install -Dm644 completions/bash "${pkgdir}/usr/share/bash-completion/completions/${_pkgname}"
install -Dm644 completions/fish "${pkgdir}/usr/share/fish/vendor_completions.d/${_pkgname}.fish"
install -Dm644 completions/zsh "${pkgdir}/usr/share/zsh/site-functions/_${_pkgname}"
install -Dm644 "${srcdir}/sing-box.sysusers" "${pkgdir}/usr/lib/sysusers.d/${_pkgname}.conf"
install -Dm644 "${srcdir}/sing-box.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${_pkgname}.conf"
}

View file

@ -1,16 +0,0 @@
maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
pre_build: vcs_update
post_build: git_pkgbuild_commit
update_on:
- source: github
github: SagerNet/sing-box
- source: vcs
- source: manual
manual: 2

View file

@ -1 +0,0 @@
u sing-box - "Sing-box Service" /var/lib/sing-box -

View file

@ -1 +0,0 @@
d /var/lib/sing-box 0700 sing-box sing-box

View file

@ -1,33 +0,0 @@
# Maintainer: bgme <i@bgme.me>
pkgname=sing-geoip
pkgver=20240612
pkgrel=1
pkgdesc='sing-geoip database'
arch=('any')
url="https://github.com/SagerNet/sing-geoip"
license=('custom:sing-geoip')
makedepends=('git' 'go' 'jq')
source=("git+https://github.com/SagerNet/sing-geoip.git")
sha256sums=('SKIP')
pkgver() {
curl -s https://api.github.com/repos/Dreamacro/maxmind-geoip/releases/latest | jq -r ".name"
}
build() {
export NO_SKIP=true
cd "${srcdir}/${pkgname}"
go run -v .
}
package() {
cd "${srcdir}/${pkgname}"
install -Dm644 "geoip-cn.db" "${pkgdir}/usr/share/${pkgname}/geoip-cn.db"
install -Dm644 "geoip.db" "${pkgdir}/usr/share/${pkgname}/geoip.db"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd "rule-set"
install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/rule-set" ./*.srs
}

View file

@ -1,17 +0,0 @@
maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
pre_build: vcs_update
post_build: git_pkgbuild_commit
update_on:
- source: github
github: SagerNet/sing-geoip
- source: cmd
cmd: curl -s https://api.github.com/repos/Dreamacro/maxmind-geoip/releases/latest | jq -r ".name"
- source: manual
manual: 1

View file

@ -1,32 +0,0 @@
# Maintainer: everyx <lunt.luo#gmail.com>
pkgname=sing-geosite
pkgver=20240621160143
pkgrel=1
pkgdesc='sing-geosite database'
arch=('any')
url="https://github.com/SagerNet/sing-geosite"
license=('custom:sing-geosite')
makedepends=('git' 'go' 'jq')
source=("git+https://github.com/SagerNet/sing-geosite.git")
sha256sums=('SKIP')
pkgver() {
curl -s https://api.github.com/repos/v2fly/domain-list-community/releases/latest | jq -r ".name"
}
build() {
export NO_SKIP=true
cd "${srcdir}/${pkgname}"
go run -v .
}
package() {
cd "${srcdir}/${pkgname}"
install -Dm644 "geosite.db" "${pkgdir}/usr/share/${pkgname}/geosite.db"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd "rule-set"
install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/rule-set" ./*.srs
}

View file

@ -1,17 +0,0 @@
maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
pre_build: vcs_update
post_build: git_pkgbuild_commit
update_on:
- source: github
github: SagerNet/sing-geosite
- source: cmd
cmd: curl -s https://api.github.com/repos/v2fly/domain-list-community/releases/latest | jq -r ".name"
- source: manual
manual: 1

File diff suppressed because it is too large Load diff

View file

@ -1,13 +0,0 @@
maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
pre_build: aur_pre_build
post_build: aur_post_build
update_on:
- source: aur
aur: ventoy

View file

@ -1,29 +0,0 @@
Adapted from:
https://github.com/ipxe/wimboot/commit/47efa60cee9d2cb702b0cd53b71d7ef46cb30735
diff -ur wimboot-2.7.3.orig/src/callback.S wimboot-2.7.3/src/callback.S
--- wimboot-2.7.3.orig/src/callback.S 2021-05-01 00:17:29.000000000 +1000
+++ wimboot-2.7.3/src/callback.S 2024-02-18 08:14:04.221954249 +1100
@@ -47,8 +47,8 @@
/** Paging bit in CR0 */
#define CR0_PG 0x80000000
- .arch i386
.code32
+ .arch i386
/* Call an arbitrary real-mode function */
.section ".text", "ax", @progbits
diff -ur wimboot-2.7.3.orig/src/startup.S wimboot-2.7.3/src/startup.S
--- wimboot-2.7.3.orig/src/startup.S 2021-05-01 00:17:29.000000000 +1000
+++ wimboot-2.7.3/src/startup.S 2024-02-18 08:02:39.764209085 +1100
@@ -31,8 +31,8 @@
#define KC_CMD 0x64
#define KC_CMD_RESET 0xfe
- .arch i386
.code32
+ .arch i386
/* Startup code */
.section ".text", "ax", @progbits

View file

@ -1,118 +0,0 @@
# Maintainer: Aaron Keesing <agkphysics at gmail dot com>
pkgname=zotero
pkgver=6.0.37
pkgrel=1
pkgdesc="A free, easy-to-use tool to help you collect, organize, cite, and share your research sources."
arch=('x86_64' 'i686')
url="https://github.com/zotero/zotero"
license=('AGPL3')
depends=('dbus-glib' 'gtk3' 'nss' 'libxt')
makedepends=('npm' 'git' 'zip' 'unzip' 'perl' 'python>=3' 'curl' 'wget' 'rsync' 'nodejs')
_tag=ab6e0a7d3436062c3787bf22fc212b002ce0fb04 # git rev-parse $pkgver
source=("zotero.desktop"
"zotero-client::git+https://github.com/zotero/zotero.git#tag=${_tag}"
"zotero-build::git+https://github.com/zotero/zotero-build.git#tag=5cec38cd40361d939e32eb0b6e0fd18ac7b78a56"
"zotero-standalone-build::git+https://github.com/zotero/zotero-standalone-build.git#tag=6.0.37"
"zotero-translators::git+https://github.com/zotero/translators.git"
"zotero-styles::git+https://github.com/zotero/bundled-styles.git"
"zotero-pdf-worker::git+https://github.com/zotero/pdf-worker.git"
"zotero-note-editor::git+https://github.com/zotero/note-editor.git"
"zotero-pdf-reader::git+https://github.com/zotero/pdf-reader.git"
"zotero-schema::git+https://github.com/zotero/zotero-schema.git"
"zotero-SingleFile::git+https://github.com/gildas-lormeau/SingleFile.git"
"zotero-utilities::git+https://github.com/zotero/utilities.git"
"zotero-translate::git+https://github.com/zotero/translate.git"
"zotero-csl::git+https://github.com/citation-style-language/locales.git"
"zotero-transfw::git+https://github.com/egh/zotero-transfw.git"
"zotero-libreoffice-integration::git+https://github.com/zotero/zotero-libreoffice-integration.git"
"zotero-pdf-js::git+https://github.com/zotero/pdf.js.git")
sha256sums=('eab76db7a56a4d9aaa17baaf240b82fcf57944a4ddf8ef1b58cc64182426cedc'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
pkgver() {
cd "$srcdir/zotero-client"
git describe --tags
}
prepare() {
cd "$srcdir/zotero-client"
npm i --legacy-peer-deps
git submodule init
git config submodule.translators.url "$srcdir/zotero-translators"
git config submodule.styles.url "$srcdir/zotero-styles"
git config submodule.pdf-worker.url "$srcdir/zotero-pdf-worker"
git config submodule.note-editor.url "$srcdir/zotero-note-editor"
git config submodule.pdf-reader.url "$srcdir/zotero-pdf-reader"
git config submodule.resource/schema/global.url "$srcdir/zotero-schema"
git config submodule.resource/SingleFile.url "$srcdir/zotero-SingleFile"
git config submodule.chrome/content/zotero/xpcom/utilities.url "$srcdir/zotero-utilities"
git config submodule.chrome/content/zotero/xpcom/translate.url "$srcdir/zotero-translate"
git config submodule.chrome/content/zotero/locale/csl.url "$srcdir/zotero-csl"
git -c protocol.file.allow=always submodule update
cd "$srcdir/zotero-client/pdf-reader"
git submodule init
git config submodule.pdf.js.url "$srcdir/zotero-pdf-js"
git -c protocol.file.allow=always submodule update
cd "$srcdir/zotero-client/pdf-worker"
git submodule init
git config submodule.pdf.js.url "$srcdir/zotero-pdf-js"
git -c protocol.file.allow=always submodule update
cd "$srcdir/zotero-build"
git submodule init
git config submodule.xpi/zotero-transfw.url "$srcdir/zotero-transfw"
git -c protocol.file.allow=always submodule update
cd "$srcdir/zotero-standalone-build"
git submodule init
git config submodule.modules/zotero-libreoffice-integration.url "$srcdir/zotero-libreoffice-integration"
git -c protocol.file.allow=always submodule update
./fetch_xulrunner.sh -p l
./fetch_pdftools
}
build() {
cd "$srcdir/zotero-client"
NODE_OPTIONS=--openssl-legacy-provider npm run build
cd "$srcdir/zotero-standalone-build"
scripts/dir_build -p l
}
package() {
install -dDm755 "$pkgdir"/usr/{bin,lib/zotero}
mv "$srcdir/zotero-standalone-build/staging/Zotero_linux-$CARCH"/* "$pkgdir/usr/lib/zotero"
ln -s /usr/lib/zotero/zotero "$pkgdir/usr/bin/zotero"
install -Dm644 "$srcdir/zotero.desktop" "$pkgdir/usr/share/applications/zotero.desktop"
# Copy zotero icons to a standard location
install -Dm644 "$pkgdir/usr/lib/zotero/chrome/icons/default/default16.png" "$pkgdir/usr/share/icons/hicolor/16x16/apps/zotero.png"
install -Dm644 "$pkgdir/usr/lib/zotero/chrome/icons/default/default32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/zotero.png"
install -Dm644 "$pkgdir/usr/lib/zotero/chrome/icons/default/default48.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/zotero.png"
install -Dm644 "$pkgdir/usr/lib/zotero/chrome/icons/default/default256.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/zotero.png"
# Disable automatic updates
sed -i '/pref("app.update.enabled", true);/c\pref("app.update.enabled", false);' "$pkgdir/usr/lib/zotero/defaults/preferences/prefs.js"
# Close shell when launching
sed -i -r 's:^("\$CALLDIR/zotero-bin" -app "\$CALLDIR/application.ini" "\$@"):exec \1:' "$pkgdir/usr/lib/zotero/zotero"
}

View file

@ -1,13 +0,0 @@
maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
pre_build: aur_pre_build
post_build: aur_post_build
update_on:
- source: aur
aur: zotero

View file

@ -1,9 +0,0 @@
[Desktop Entry]
Type=Application
Name=Zotero
GenericName=Zotero Standalone. Is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
Icon=zotero
Exec=/usr/bin/zotero -url %U
Categories=Office
Terminal=false
MimeType=x-scheme-handler/zotero