Merge branch 'main' of git.bgme.me:bgme/lilac

This commit is contained in:
bgme 2024-03-27 23:32:59 +08:00
commit 2ac142568a
10 changed files with 121 additions and 37 deletions

View file

@ -2,8 +2,8 @@
# Contributor: Marie Piontek <marie@kaifa.ch> # Contributor: Marie Piontek <marie@kaifa.ch>
pkgname=an-anime-game-launcher-bin pkgname=an-anime-game-launcher-bin
pkgver=3.9.4 pkgver=3.9.5
pkgrel=1 pkgrel=2
pkgdesc="A Launcher for a specific anime game with auto-patching, discord rpc and time tracking" pkgdesc="A Launcher for a specific anime game with auto-patching, discord rpc and time tracking"
url="https://github.com/an-anime-team/an-anime-game-launcher" url="https://github.com/an-anime-team/an-anime-game-launcher"
conflicts=("an-anime-game-launcher-git") conflicts=("an-anime-game-launcher-git")
@ -34,7 +34,7 @@ source=(
) )
md5sums=( md5sums=(
'01f6eb5d71a93f52bf75d1365268fbab' '52346086d3f58474161f7a8f22be9c6e'
'c1a5499b80a55d3d238ef5c5d2c93c99' 'c1a5499b80a55d3d238ef5c5d2c93c99'
'f0cfe73897e8f49e92e0dfc41326fb0b' 'f0cfe73897e8f49e92e0dfc41326fb0b'
) )

View file

@ -1,47 +1,45 @@
# Maintainer: Sefa Eyeoglu <contact@scrumplex.net> # Maintainer: Giovanni Harting <539@idlegandalf.com>
# Contributor: Sefa Eyeoglu <contact@scrumplex.net>
# Contributor: Yosef Langer (vasilevich1234 dot gmail dot ...) # Contributor: Yosef Langer (vasilevich1234 dot gmail dot ...)
_commit=734ff631f254d8f17661d81e43927ba68e69f545
pkgname=nginxbeautifier pkgname=nginxbeautifier
pkgver=1.0.19 pkgver=1.0.19
pkgrel=2 pkgrel=3
pkgdesc="nginx config file formatter and beautifier" pkgdesc='nginx config file formatter and beautifier'
arch=(any) arch=(any)
url="https://github.com/vasilevich/nginxbeautifier" url='https://github.com/vasilevich/nginxbeautifier'
license=("Apache") license=(Apache-2.0)
depends=("nodejs") depends=(nodejs)
makedepends=("git" "npm") makedepends=(git npm)
_commit=734ff631f254d8f17661d81e43927ba68e69f545
source=("$pkgname::git+https://github.com/vasilevich/nginxbeautifier.git#commit=${_commit}") source=("$pkgname::git+https://github.com/vasilevich/nginxbeautifier.git#commit=${_commit}")
sha512sums=('SKIP') b2sums=('SKIP')
prepare() {
cd "${pkgname}"
# remove junk
rm -rf ".idea/"
}
build() { build() {
cd "${pkgname}" cd $pkgname
# We create a taball of the project as "npm installing" (see package()) the directory itself only creates symlinks # we create a taball of the project as "npm installing" (see package()) the directory itself only creates symlinks
npm pack npm pack
} }
package() { package() {
cd "${pkgname}" cd $pkgname
npm install -g --prefix "$pkgdir"/usr $pkgname-$pkgver.tgz
npm install -g --prefix "${pkgdir}/usr" "${pkgname}-${pkgver}.tgz"
# Non-deterministic race in npm gives 777 permissions to random directories. # Non-deterministic race in npm gives 777 permissions to random directories.
# See https://github.com/npm/npm/issues/9359 for details. # See https://github.com/npm/npm/issues/9359 for details.
find "${pkgdir}/usr" -type d -exec chmod 755 {} + find "$pkgdir"/usr -type d -exec chmod 755 {} +
# npm gives ownership of ALL FILES to build user # npm gives ownership of ALL FILES to build user
# https://bugs.archlinux.org/task/63396 # https://bugs.archlinux.org/task/63396
chown -R root:root "${pkgdir}" chown -R root:root "$pkgdir"
install -d "${pkgdir}/usr/share/doc/${pkgname}" # remove ide stuff
ln -s "/usr/lib/node_modules/${pkgname}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md" rm -r "$pkgdir"/usr/lib/node_modules/nginxbeautifier/.idea
install -d "$pkgdir"/usr/share/doc/$pkgname
ln -s /usr/lib/node_modules/$pkgname/README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,7 +1,7 @@
# Maintainer: Aleksandr Beliaev <trap000d at gmail dot com> # Maintainer: Aleksandr Beliaev <trap000d at gmail dot com>
pkgname=quarto-cli pkgname=quarto-cli
pkgver=1.4.551 pkgver=1.4.552
pkgrel=3 pkgrel=3
_pkgbasename=quarto-cli _pkgbasename=quarto-cli
_denodomver="0.1.35-alpha-artifacts" _denodomver="0.1.35-alpha-artifacts"
@ -21,7 +21,7 @@ source=("${_pkgbasename}-${pkgver}.tar.gz::https://github.com/quarto-dev/quarto-
"000_deno_1.41.diff" "000_deno_1.41.diff"
) )
sha256sums=('fde25148b2f50efd184f203f1e110a5e60b8e716755e1f6ea572ce912286631c' sha256sums=('fe6001d3246e738505029a33e7ffde66f536253600b136b31b6cdcaff72f36ea'
'14fb042a6912041b9fda91fd643cf278764d075bc9539aa1e107475915cd896c' '14fb042a6912041b9fda91fd643cf278764d075bc9539aa1e107475915cd896c'
'd09e82634e6b64359c54d3a99b8abb4503cea3c62ef30b46d02ffcfde718d36c') 'd09e82634e6b64359c54d3a99b8abb4503cea3c62ef30b46d02ffcfde718d36c')
prepare() { prepare() {

View file

@ -3,7 +3,7 @@
pkgname=sing-box-git pkgname=sing-box-git
_pkgname=sing-box _pkgname=sing-box
pkgver=r1310.b392d566 pkgver=r1317.f8ab52f9
pkgrel=1 pkgrel=1
pkgdesc='The universal proxy platform (git version).' pkgdesc='The universal proxy platform (git version).'

View file

@ -1,7 +1,7 @@
# Maintainer: everyx <lunt.luo#gmail.com> # Maintainer: everyx <lunt.luo#gmail.com>
pkgname=sing-geosite pkgname=sing-geosite
pkgver=20240316051411 pkgver=20240324094850
pkgrel=1 pkgrel=1
pkgdesc='sing-geosite database' pkgdesc='sing-geosite database'
arch=('any') arch=('any')

View file

@ -0,0 +1,48 @@
# Maintainer: Paragoumba <aur@paragoumba.fr>
# Contributor: Mario Ray MahardhikZza <leledumbo_cool@yahoo.co.id>
# Contributor: James Cuzella <james.cuzella@lyraphase.com>
_package=net.downloadhelper.coapp
pkgname=vdhcoapp-bin
pkgver=2.0.19
pkgrel=1
pkgdesc="Companion application for Video DownloadHelper browser add-on, precompiled binary version"
provides=("vdhcoapp=${pkgver}")
conflicts=('vdhcoapp')
arch=('x86_64')
url="https://github.com/aclap-dev/vdhcoapp"
license=('GPL2')
depends=('ffmpeg' 'orc')
makedepends=()
options=('!strip') # IMPORTANT! DO NOT REMOVE THIS, OTHERWISE THE BINARY WILL BE BROKEN!
source=(vdhcoapp-$pkgver-linux-$arch.deb::https://github.com/aclap-dev/vdhcoapp/releases/download/v${pkgver}/vdhcoapp-linux-$arch.deb
vdhcoapp-install.hook
vdhcoapp-remove.hook
vdhcoapp-user-install.hook
vdhcoapp-user-remove.hook)
sha256sums=('496d341eef326f3fb6f0ddf825b309d6e18a4ddb7f1bec7fe74d9282ae94dfc4'
'a2b56e6ae3f7f8933e20762baa90e69f63f0802b2e6d213b51e0bc68843e5d27'
'3287859986d67e15e269965676bf9c75d1e853ea0ec97695811072fb8f10a7a8'
'a08c02d934709cdea4392fce155bec0b33147e386ed154bed959c5b78788ea83'
'f7406ae5ba7fb6602426ef97540f86e057a7fd6d01a917e5af3638f1d64b2ce9')
prepare() {
rm control.tar.xz
rm debian-binary
mkdir -p "${srcdir}/${pkgname}"
tar xf data.tar.xz -C "${pkgname}"
}
package() {
cp -Rfp "${srcdir}/${pkgname}/"* "${pkgdir}/"
mkdir -p "${pkgdir}/usr/bin"
mkdir -p "${pkgdir}/usr/share/libalpm/hooks"
mkdir -p "${pkgdir}/opt/${_package}/converter/build/linux/64/"
ln -s /usr/bin/ffmpeg "${pkgdir}/opt/${_package}/converter/build/linux/64/ffmpeg"
ln -s /usr/bin/ffprobe "${pkgdir}/opt/${_package}/converter/build/linux/64/ffprobe"
ln -s /usr/bin/ffplay "${pkgdir}/opt/${_package}/converter/build/linux/64/ffplay"
ln -s "/opt/vdhcoapp/vdhcoapp" "${pkgdir}/usr/bin/vdhcoapp"
# Install Hooks
cp -fpL "${srcdir}/"*.hook "${pkgdir}/usr/share/libalpm/hooks/"
}

View file

@ -0,0 +1,10 @@
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = vdhcoapp-bin
[Action]
Description = Installing JSON configuration file ...
When = PostTransaction
Exec = /usr/bin/vdhcoapp install --system

View file

@ -0,0 +1,9 @@
[Trigger]
Operation = Remove
Type = Package
Target = vdhcoapp-bin
[Action]
Description = Uninstalling JSON configuration file ...
When = PreTransaction
Exec = /usr/bin/vdhcoapp uninstall --system

View file

@ -0,0 +1,10 @@
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = vdhcoapp-bin
[Action]
Description = Installing JSON configuration file for current user ...
When = PostTransaction
Exec = /bin/sh -c 'sudo -u "${SUDO_USER:-$(id -u -n 1000 )}" /usr/bin/vdhcoapp install --user'

View file

@ -0,0 +1,9 @@
[Trigger]
Operation = Remove
Type = Package
Target = vdhcoapp-bin
[Action]
Description = Uninstalling JSON configuration file for current user ...
When = PreTransaction
Exec = /bin/sh -c 'sudo -u "${SUDO_USER:-$(id -u -n 1000 )}" /usr/bin/vdhcoapp uninstall --user'