remove libscrypt
remove mcomix remove sing-box update sing-box-git
This commit is contained in:
parent
88300c4be3
commit
b4bc4e6048
|
@ -1,31 +0,0 @@
|
||||||
# Maintainer: Lex Black <autumn-wind at web dot de>
|
|
||||||
|
|
||||||
pkgname=libscrypt
|
|
||||||
pkgver=1.22
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="shared library that implements scrypt() functionality - a replacement for bcrypt()"
|
|
||||||
arch=(i686 x86_64)
|
|
||||||
license=('BSD')
|
|
||||||
url="https://github.com/technion/libscrypt"
|
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/technion/$pkgname/archive/v${pkgver}.tar.gz")
|
|
||||||
sha1sums=('01e1789bcd029ebf6d94c907b7d41889cde3a788')
|
|
||||||
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "$pkgname-$pkgver"
|
|
||||||
|
|
||||||
CFLAGS="${CFLAGS} -fPIC" make
|
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
|
||||||
cd "$pkgname-$pkgver"
|
|
||||||
|
|
||||||
make check
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$pkgname-$pkgver"
|
|
||||||
|
|
||||||
make PREFIX="/usr" DESTDIR="$pkgdir" install
|
|
||||||
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
||||||
}
|
|
|
@ -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: libscrypt
|
|
|
@ -1,37 +0,0 @@
|
||||||
# Maintainer: schuay <jakob.gruber@gmail.com>
|
|
||||||
# Contributor: Ray Powell <ray_al@xphoniexx.net>
|
|
||||||
|
|
||||||
pkgname=mcomix
|
|
||||||
pkgver=3.0.0
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books"
|
|
||||||
arch=('any')
|
|
||||||
url="https://sourceforge.net/p/mcomix/wiki/Home/"
|
|
||||||
license=('GPL')
|
|
||||||
depends=('gtk3' 'python-cairo' 'python-gobject' 'python-pillow')
|
|
||||||
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
|
|
||||||
optdepends=(
|
|
||||||
'lhasa: for lha compressed comics'
|
|
||||||
'libunrar: for rar compressed comics'
|
|
||||||
'p7zip: for 7z compressed comics'
|
|
||||||
'python-pymupdf: for PDF comics'
|
|
||||||
'unrar: for rar compressed comics'
|
|
||||||
'unzip: for zip compressed comics'
|
|
||||||
)
|
|
||||||
source=(
|
|
||||||
"https://downloads.sourceforge.net/project/${pkgname}/MComix-${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
|
||||||
)
|
|
||||||
sha256sums=('2270c43d75e2878f64e4c886d5b013125c42894b364594d5ec979154c4dea004')
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "${pkgname}-${pkgver}"
|
|
||||||
python -m build --wheel --no-isolation
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "${pkgname}-${pkgver}"
|
|
||||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
||||||
|
|
||||||
# application meta files are no longer copied automatically by the installation process
|
|
||||||
cp -a share "$pkgdir/usr"
|
|
||||||
}
|
|
|
@ -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: mcomix
|
|
|
@ -4,7 +4,7 @@
|
||||||
pkgname=sing-box-git
|
pkgname=sing-box-git
|
||||||
_pkgname=sing-box
|
_pkgname=sing-box
|
||||||
pkgver=1.7.0.alpha.5.r0.gc2ce1d00
|
pkgver=1.7.0.alpha.5.r0.gc2ce1d00
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
|
|
||||||
pkgdesc='The universal proxy platform (git version).'
|
pkgdesc='The universal proxy platform (git version).'
|
||||||
arch=('x86_64' 'i686')
|
arch=('x86_64' 'i686')
|
||||||
|
@ -65,6 +65,11 @@ build() {
|
||||||
-linkmode=external" \
|
-linkmode=external" \
|
||||||
./cmd/sing-box
|
./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/
|
cd release/config/
|
||||||
patch -p1 <"${srcdir}/0001-sing-box-service.patch"
|
patch -p1 <"${srcdir}/0001-sing-box-service.patch"
|
||||||
}
|
}
|
||||||
|
@ -78,6 +83,10 @@ package() {
|
||||||
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 "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.sysusers" "${pkgdir}/usr/lib/sysusers.d/${_pkgname}.conf"
|
||||||
install -Dm644 "${srcdir}/sing-box.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${_pkgname}.conf"
|
install -Dm644 "${srcdir}/sing-box.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${_pkgname}.conf"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,69 +0,0 @@
|
||||||
# Maintainer: everyx <lunt.luo#gmail.com>
|
|
||||||
|
|
||||||
pkgname=sing-box
|
|
||||||
pkgver=1.6.0
|
|
||||||
pkgrel=1
|
|
||||||
|
|
||||||
pkgdesc='The universal proxy platform.'
|
|
||||||
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
|
|
||||||
url='https://sing-box.sagernet.org/'
|
|
||||||
license=('GPL3 with name use or association addition')
|
|
||||||
|
|
||||||
makedepends=('go')
|
|
||||||
|
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/SagerNet/sing-box/archive/v$pkgver.tar.gz")
|
|
||||||
sha256sums=('3272c9ac447d009749429f38d76e9879609c0c321442c3235ba806d995c0838a')
|
|
||||||
|
|
||||||
conflicts=("$pkgname-git" "$pkgname-beta")
|
|
||||||
optdepends=('sing-geosite: sing-geosite database'
|
|
||||||
'sing-geoip: sing-geoip database')
|
|
||||||
|
|
||||||
backup=("etc/$pkgname/config.json")
|
|
||||||
|
|
||||||
_tags=with_gvisor,with_quic,with_wireguard,with_utls,with_reality_server,with_clash_api,with_ech
|
|
||||||
build(){
|
|
||||||
cd "$pkgname-$pkgver"
|
|
||||||
|
|
||||||
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=$pkgver\"
|
|
||||||
-s -w -buildid= -linkmode=external" \
|
|
||||||
./cmd/sing-box
|
|
||||||
|
|
||||||
sed -i "/^\[Service\]$/a StateDirectory=$pkgname" release/config/$pkgname.service
|
|
||||||
sed -i "/^\[Service\]$/a StateDirectory=$pkgname-%i" release/config/$pkgname@.service
|
|
||||||
sed -i "/^\[Service\]$/a User=$pkgname" release/config/$pkgname*.service
|
|
||||||
|
|
||||||
echo "u $pkgname - \"Sing-box Service\" - -" > "release/config/$pkgname.sysusers"
|
|
||||||
|
|
||||||
install -d 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
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$pkgname-$pkgver"
|
|
||||||
|
|
||||||
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 "release/config/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
|
|
||||||
|
|
||||||
install -Dm644 completions/bash "${pkgdir}/usr/share/bash-completion/completions/${pkgname}.bash"
|
|
||||||
install -Dm644 completions/fish "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish"
|
|
||||||
install -Dm644 completions/zsh "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
|
|
||||||
}
|
|
|
@ -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: sing-box
|
|
Loading…
Reference in a new issue