diff --git a/repo/an-anime-game-launcher-bin/PKGBUILD b/repo/an-anime-game-launcher-bin/PKGBUILD index 60337bf..bd249a6 100644 --- a/repo/an-anime-game-launcher-bin/PKGBUILD +++ b/repo/an-anime-game-launcher-bin/PKGBUILD @@ -2,8 +2,8 @@ # Contributor: Marie Piontek pkgname=an-anime-game-launcher-bin -pkgver=3.9.4 -pkgrel=1 +pkgver=3.9.5 +pkgrel=2 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" conflicts=("an-anime-game-launcher-git") @@ -34,7 +34,7 @@ source=( ) md5sums=( - '01f6eb5d71a93f52bf75d1365268fbab' + '52346086d3f58474161f7a8f22be9c6e' 'c1a5499b80a55d3d238ef5c5d2c93c99' 'f0cfe73897e8f49e92e0dfc41326fb0b' ) diff --git a/repo/nginxbeautifier/PKGBUILD b/repo/nginxbeautifier/PKGBUILD index bef4b2a..4c19c56 100644 --- a/repo/nginxbeautifier/PKGBUILD +++ b/repo/nginxbeautifier/PKGBUILD @@ -1,47 +1,45 @@ -# Maintainer: Sefa Eyeoglu +# Maintainer: Giovanni Harting <539@idlegandalf.com> +# Contributor: Sefa Eyeoglu # Contributor: Yosef Langer (vasilevich1234 dot gmail dot ...) -_commit=734ff631f254d8f17661d81e43927ba68e69f545 pkgname=nginxbeautifier pkgver=1.0.19 -pkgrel=2 -pkgdesc="nginx config file formatter and beautifier" +pkgrel=3 +pkgdesc='nginx config file formatter and beautifier' arch=(any) -url="https://github.com/vasilevich/nginxbeautifier" -license=("Apache") -depends=("nodejs") -makedepends=("git" "npm") +url='https://github.com/vasilevich/nginxbeautifier' +license=(Apache-2.0) +depends=(nodejs) +makedepends=(git npm) +_commit=734ff631f254d8f17661d81e43927ba68e69f545 source=("$pkgname::git+https://github.com/vasilevich/nginxbeautifier.git#commit=${_commit}") -sha512sums=('SKIP') - - -prepare() { - cd "${pkgname}" - - # remove junk - rm -rf ".idea/" -} +b2sums=('SKIP') build() { - cd "${pkgname}" + cd $pkgname - # We create a taball of the project as "npm installing" (see package()) the directory itself only creates symlinks - npm pack + # we create a taball of the project as "npm installing" (see package()) the directory itself only creates symlinks + npm pack } package() { - cd "${pkgname}" + cd $pkgname - npm install -g --prefix "${pkgdir}/usr" "${pkgname}-${pkgver}.tgz" - # Non-deterministic race in npm gives 777 permissions to random directories. - # See https://github.com/npm/npm/issues/9359 for details. - find "${pkgdir}/usr" -type d -exec chmod 755 {} + + npm install -g --prefix "$pkgdir"/usr $pkgname-$pkgver.tgz - # npm gives ownership of ALL FILES to build user - # https://bugs.archlinux.org/task/63396 - chown -R root:root "${pkgdir}" + # Non-deterministic race in npm gives 777 permissions to random directories. + # See https://github.com/npm/npm/issues/9359 for details. + find "$pkgdir"/usr -type d -exec chmod 755 {} + - install -d "${pkgdir}/usr/share/doc/${pkgname}" - ln -s "/usr/lib/node_modules/${pkgname}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md" + # npm gives ownership of ALL FILES to build user + # https://bugs.archlinux.org/task/63396 + chown -R root:root "$pkgdir" + + # remove ide stuff + 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: diff --git a/repo/quarto-cli/PKGBUILD b/repo/quarto-cli/PKGBUILD index 34c56d5..6157d73 100644 --- a/repo/quarto-cli/PKGBUILD +++ b/repo/quarto-cli/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Aleksandr Beliaev pkgname=quarto-cli -pkgver=1.4.551 +pkgver=1.4.552 pkgrel=3 _pkgbasename=quarto-cli _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" ) -sha256sums=('fde25148b2f50efd184f203f1e110a5e60b8e716755e1f6ea572ce912286631c' +sha256sums=('fe6001d3246e738505029a33e7ffde66f536253600b136b31b6cdcaff72f36ea' '14fb042a6912041b9fda91fd643cf278764d075bc9539aa1e107475915cd896c' 'd09e82634e6b64359c54d3a99b8abb4503cea3c62ef30b46d02ffcfde718d36c') prepare() { diff --git a/repo/sing-box-git/PKGBUILD b/repo/sing-box-git/PKGBUILD index dd9b55d..3d0c1d9 100644 --- a/repo/sing-box-git/PKGBUILD +++ b/repo/sing-box-git/PKGBUILD @@ -3,7 +3,7 @@ pkgname=sing-box-git _pkgname=sing-box -pkgver=r1310.b392d566 +pkgver=r1317.f8ab52f9 pkgrel=1 pkgdesc='The universal proxy platform (git version).' diff --git a/repo/sing-geosite/PKGBUILD b/repo/sing-geosite/PKGBUILD index 0405f2e..d3e1a0f 100644 --- a/repo/sing-geosite/PKGBUILD +++ b/repo/sing-geosite/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: everyx pkgname=sing-geosite -pkgver=20240316051411 +pkgver=20240324094850 pkgrel=1 pkgdesc='sing-geosite database' arch=('any') diff --git a/repo/vdhcoapp-bin/PKGBUILD b/repo/vdhcoapp-bin/PKGBUILD new file mode 100644 index 0000000..b686bb8 --- /dev/null +++ b/repo/vdhcoapp-bin/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Paragoumba +# Contributor: Mario Ray MahardhikZza +# Contributor: James Cuzella + +_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/" +} diff --git a/repo/vdhcoapp-bin/vdhcoapp-install.hook b/repo/vdhcoapp-bin/vdhcoapp-install.hook new file mode 100644 index 0000000..b608634 --- /dev/null +++ b/repo/vdhcoapp-bin/vdhcoapp-install.hook @@ -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 diff --git a/repo/vdhcoapp-bin/vdhcoapp-remove.hook b/repo/vdhcoapp-bin/vdhcoapp-remove.hook new file mode 100644 index 0000000..ddf2690 --- /dev/null +++ b/repo/vdhcoapp-bin/vdhcoapp-remove.hook @@ -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 diff --git a/repo/vdhcoapp-bin/vdhcoapp-user-install.hook b/repo/vdhcoapp-bin/vdhcoapp-user-install.hook new file mode 100644 index 0000000..2afad2e --- /dev/null +++ b/repo/vdhcoapp-bin/vdhcoapp-user-install.hook @@ -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' diff --git a/repo/vdhcoapp-bin/vdhcoapp-user-remove.hook b/repo/vdhcoapp-bin/vdhcoapp-user-remove.hook new file mode 100644 index 0000000..c0f15dd --- /dev/null +++ b/repo/vdhcoapp-bin/vdhcoapp-user-remove.hook @@ -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'