Compare commits

...

15 commits

18 changed files with 166 additions and 83 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com> # Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=alhp-mirrorlist pkgname=alhp-mirrorlist
pkgver=20240615 pkgver=20241215
pkgrel=1 pkgrel=1
pkgdesc='ALHP mirror list for use by pacman' pkgdesc='ALHP mirror list for use by pacman'
arch=(any) arch=(any)
@ -12,7 +12,7 @@ backup=(
'etc/pacman.d/alhp-mirrorlist.ipfs' 'etc/pacman.d/alhp-mirrorlist.ipfs'
) )
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
b2sums=('181a3d7c71fe37eb25c560b3e8d4cb29e96b105781bb007799d7e117e8bde9ced7c58024ef0e4947ee5e4cc347c40595a867f79c1d03c186e6fa53198b66631d') b2sums=('4e1972517b13febd5369eb574e87b571199480f46cb62f9cbd93a46a28a9db2ff46b3cf719ecb4d2edd5a57d8afd42a9e984a6b560cd739f808fdbb4aaf045e8')
package() { package() {
install -Dm644 alhp-mirrorlist/mirrorlist "$pkgdir"/etc/pacman.d/alhp-mirrorlist install -Dm644 alhp-mirrorlist/mirrorlist "$pkgdir"/etc/pacman.d/alhp-mirrorlist

View file

@ -2,11 +2,11 @@
# 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.10.0 pkgver=3.13.0
pkgrel=1 pkgrel=1
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" "an-anime-game-launcher")
provides=("an-anime-game-launcher") provides=("an-anime-game-launcher")
arch=("x86_64") arch=("x86_64")
license=("GPL3") license=("GPL3")
@ -14,7 +14,6 @@ license=("GPL3")
depends=( depends=(
"libadwaita" "libadwaita"
"xdg-desktop-portal" "xdg-desktop-portal"
"xdelta3"
"libwebp" "libwebp"
"p7zip" "p7zip"
"git" "git"
@ -35,7 +34,7 @@ source=(
) )
md5sums=( md5sums=(
'f6c7fc6e1076f4db7ced0dc59ff315c0' '35050295b9225647323ada0afb76245b'
'c1a5499b80a55d3d238ef5c5d2c93c99' 'c1a5499b80a55d3d238ef5c5d2c93c99'
'f0cfe73897e8f49e92e0dfc41326fb0b' 'f0cfe73897e8f49e92e0dfc41326fb0b'
) )

View file

@ -10,7 +10,7 @@
# Maintainer: Kordian Bruck <k@bruck.me> # Maintainer: Kordian Bruck <k@bruck.me>
pkgname=android-studio pkgname=android-studio
pkgver=2024.1.1.11 pkgver=2024.2.1.12
pkgrel=1 pkgrel=1
pkgdesc="The official Android IDE (Stable branch)" pkgdesc="The official Android IDE (Stable branch)"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@ -25,7 +25,7 @@ options=('!strip')
source=("https://dl.google.com/dl/android/studio/ide-zips/$pkgver/android-studio-$pkgver-linux.tar.gz" source=("https://dl.google.com/dl/android/studio/ide-zips/$pkgver/android-studio-$pkgver-linux.tar.gz"
"$pkgname.desktop" "$pkgname.desktop"
"license.html") "license.html")
sha256sums=('d8fa8ecfe415b44513350901501e2a0f429ca033cf1805054b1c816c4a704565' sha256sums=('4df51ac7d73e45203383418a537c9562c58bef6ab80d4074cd98acb387e5caa6'
'73cd2dde1d0f99aaba5baad1e2b91c834edd5db3c817f6fb78868d102360d3c4' '73cd2dde1d0f99aaba5baad1e2b91c834edd5db3c817f6fb78868d102360d3c4'
'9a7563f7fb88c9a83df6cee9731660dc73a039ab594747e9e774916275b2e23e') '9a7563f7fb88c9a83df6cee9731660dc73a039ab594747e9e774916275b2e23e')
@ -39,7 +39,7 @@ package() {
# Install the application # Install the application
install -d $pkgdir/{opt/$pkgname,usr/bin} install -d $pkgdir/{opt/$pkgname,usr/bin}
cp -a bin lib jbr plugins license LICENSE.txt build.txt product-info.json $pkgdir/opt/$pkgname cp -a bin lib jbr plugins license LICENSE.txt build.txt product-info.json $pkgdir/opt/$pkgname
ln -s /opt/android-studio/bin/studio.sh $pkgdir/usr/bin/$pkgname ln -s /opt/android-studio/bin/studio $pkgdir/usr/bin/$pkgname
# Copy licenses # Copy licenses
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"

View file

@ -1,6 +1,6 @@
# Maintainer: Sainnhe Park <sainnhe@gmail.com> # Maintainer: Sainnhe Park <sainnhe@gmail.com>
pkgname=code-marketplace pkgname=code-marketplace
pkgver=1.90.0 pkgver=1.95.0
pkgrel=1 pkgrel=1
pkgdesc='Enable vscode marketplace in Code OSS' pkgdesc='Enable vscode marketplace in Code OSS'
arch=('any') arch=('any')
@ -14,7 +14,7 @@ source=('code-marketplace.hook'
'patch.json') 'patch.json')
md5sums=('ce502275aa945985182b51420fc6037c' md5sums=('ce502275aa945985182b51420fc6037c'
'9ed6f3972479ab6d3d053e7c47ead55a' '9ed6f3972479ab6d3d053e7c47ead55a'
'56531cac5e74070cde3229c0a5e1503b') '63fcab1dcfb25eacc2697cae3d650ff3')
package() { package() {
install -Dm 644 "${srcdir}"/code-marketplace.hook "${pkgdir}"/usr/share/libalpm/hooks/code-marketplace.hook install -Dm 644 "${srcdir}"/code-marketplace.hook "${pkgdir}"/usr/share/libalpm/hooks/code-marketplace.hook

View file

@ -504,10 +504,12 @@
"GitHub.copilot": { "GitHub.copilot": {
"onFileOpen": [ "onFileOpen": [
{ {
"pathGlob": "{**/*.ts,**/*.tsx,**/*.js,**/*.py,**/*.go,**/*.rb}" "pathGlob": "{**/*.ts,**/*.tsx,**/*.js,**/*.jsx,**/*.py,**/*.go,**/*.rb,**/*.html,**/*.css,**/*.php,**/*.cpp,**/*.vue,**/*.c,**/*.sql,**/*.java,**/*.cs,**/*.rs,**/*.dart,**/*.ps,**/*.ps1,**/*.tex}"
} }
], ],
"onSettingsEditorOpen": {} "onSettingsEditorOpen": {
"descriptionOverride": "GitHub Copilot is an AI pair programmer tool that helps you write code faster and smarter."
}
}, },
"GitHub.vscode-github-actions": { "GitHub.vscode-github-actions": {
"onFileOpen": [ "onFileOpen": [
@ -539,6 +541,13 @@
"important": true "important": true
} }
] ]
},
"Redis.redis-for-vscode": {
"onFileOpen": [
{
"pathGlob": "{**/redis.*,**/redis-server.*,**/redis_*,**/redisinsight.*}"
}
]
} }
}, },
"keymapExtensionTips": [ "keymapExtensionTips": [

View file

@ -1,11 +1,14 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# This script can update the content of ./patch.json to the latest version # This script will update the ./patch.json to match the official release
# Usage: ./update.py /path/to/extracted/produce.json # Usage: ./update.py <version-number>
# Where /path/to/extracted/produce.json is extracted from the latest version of official vscode release # Where <version-number> is the version of the official release
import sys
import json import json
import os
import shutil
import subprocess
import sys
key_list = [ key_list = [
"extensionsGallery", "extensionsGallery",
@ -19,13 +22,25 @@ key_list = [
"extensionAllowedBadgeProviders", "extensionAllowedBadgeProviders",
"extensionAllowedBadgeProvidersRegex", "extensionAllowedBadgeProvidersRegex",
"msftInternalDomains", "msftInternalDomains",
"linkProtectionTrustedDomains" "linkProtectionTrustedDomains",
] ]
product_path = sys.argv[1]
patch_path = "patch.json"
with open(product_path, "r") as product_file: def fetch_product_json(version: str):
"""Download official release and extract it, then copy product.json to project root"""
url = f"https://update.code.visualstudio.com/{version}/linux-x64/stable"
download_cmd = ["curl", "-fSL", "-o", "code.tgz", url]
subprocess.run(download_cmd)
extract_cmd = ["tar", "xvf", "code.tgz"]
subprocess.run(extract_cmd)
shutil.copy(src="./VSCode-linux-x64/resources/app/product.json", dst=".")
shutil.rmtree("./VSCode-linux-x64")
os.remove("code.tgz")
def update_package():
"""Update the package"""
with open("./product.json", "r") as product_file:
product_data = json.load(product_file) product_data = json.load(product_file)
patch_data = {} patch_data = {}
@ -33,5 +48,12 @@ patch_data = {}
for key in key_list: for key in key_list:
patch_data[key] = product_data[key] patch_data[key] = product_data[key]
with open(patch_path, "w") as patch_file: with open("./patch.json", "w") as patch_file:
json.dump(patch_data, patch_file, indent='\t') json.dump(patch_data, patch_file, indent="\t")
subprocess.run(["updpkgsums", "./PKGBUILD"])
version = sys.argv[1]
fetch_product_json(version)
update_package()

View file

@ -2,7 +2,7 @@
pkgname=httpdirfs pkgname=httpdirfs
pkgver=1.2.7 pkgver=1.2.7
pkgrel=15 pkgrel=16
pkgdesc="A filesystem which allows you to mount HTTP directory listings" pkgdesc="A filesystem which allows you to mount HTTP directory listings"
arch=('x86_64') arch=('x86_64')
url="https://github.com/fangfufu/httpdirfs" url="https://github.com/fangfufu/httpdirfs"

View file

@ -1,7 +1,7 @@
# Maintainer: Bradford Smith <aur@bradfords.me> # Maintainer: Bradford Smith <aur@bradfords.me>
pkgname=informant pkgname=informant
pkgver=0.5.1 pkgver=0.6.0
pkgrel=1 pkgrel=1
pkgdesc="An Arch Linux News reader and pacman hook" pkgdesc="An Arch Linux News reader and pacman hook"
arch=('any') arch=('any')
@ -12,7 +12,7 @@ makedepends=('python-setuptools')
depends=('python' 'python-docopt' 'python-dateutil' 'python-feedparser' 'python-html2text' 'python-cachecontrol' 'python-lockfile' 'python-psutil') depends=('python' 'python-docopt' 'python-dateutil' 'python-feedparser' 'python-html2text' 'python-cachecontrol' 'python-lockfile' 'python-psutil')
source=("https://github.com/bradford-smith94/$pkgname/archive/v$pkgver.tar.gz") source=("https://github.com/bradford-smith94/$pkgname/archive/v$pkgver.tar.gz")
options=(zipman) options=(zipman)
sha256sums=('2c88b1303fd623eef390e7bcfafeb40f45b847a7f88514726e36c66f6763c53e') sha256sums=('aa1acb6677c70f389aee64efa706ae0c87c6339ae18d501f83fefa1c8bb750b4')
build() { build() {

View file

@ -1,7 +1,7 @@
#Maintainer: Bhoppi Chaw <bhoppi#outlook,com> #Maintainer: Bhoppi Chaw <bhoppi#outlook,com>
pkgname=nutstore-experimental pkgname=nutstore-experimental
pkgver=6.3.0 pkgver=6.3.6
pkgrel=1 pkgrel=1
pkgdesc='Nutstore experimental version.' pkgdesc='Nutstore experimental version.'
arch=(x86_64) arch=(x86_64)
@ -20,7 +20,7 @@ source=(nutstore license)
source_x86_64=("https://pkg-cdn.jianguoyun.com/static/exe/ex/$pkgver/nutstore_client-$pkgver-linux-x86_64-public.tar.gz") source_x86_64=("https://pkg-cdn.jianguoyun.com/static/exe/ex/$pkgver/nutstore_client-$pkgver-linux-x86_64-public.tar.gz")
sha256sums=('a4aa358d45b306cbeac449f2256f00a5b81a95197394eba7efa96eaae820cf5b' sha256sums=('a4aa358d45b306cbeac449f2256f00a5b81a95197394eba7efa96eaae820cf5b'
'd320e071403cdad44881beb880f5ccfa8ec0a625718a9f572dce0cc9fff81ade') 'd320e071403cdad44881beb880f5ccfa8ec0a625718a9f572dce0cc9fff81ade')
sha256sums_x86_64=('38a2a6a80577c12c5168615f23cfe5a9ed3442e4dd18e8fe6651bf806bc1d758') sha256sums_x86_64=('09739a9798a4ac59922a1d82f5dd5d088b46965b75a1d644d88af24594543522')
build() { build() {
cd $srcdir/gnome-config cd $srcdir/gnome-config

View file

@ -3,7 +3,7 @@
pkgname=quarto-cli pkgname=quarto-cli
pkgver=1.6.39 pkgver=1.6.39
pkgrel=15 pkgrel=16
#_pkgbasename=quarto-cli #_pkgbasename=quarto-cli
_denodomver="0.1.41-alpha-artifacts" _denodomver="0.1.41-alpha-artifacts"
_denover="2.0.4-1" _denover="2.0.4-1"

View file

@ -1,10 +1,11 @@
# Maintainer: Chris Down <chris@chrisdown.name> # Maintainer: Pranav Sharma <pranav.sharma.ama@gmail.com>
# Contributor: Chris Down <chris@chrisdown.name>
# Contributor: Vladimir Chizhov <jagoterr@gmail.com> # Contributor: Vladimir Chizhov <jagoterr@gmail.com>
# Contributor: Jochen Schalanda <jochen+aur (-AT-) schalanda.name> # Contributor: Jochen Schalanda <jochen+aur (-AT-) schalanda.name>
# Contributor: Ichimonji10 <Ichimonji10@gmail.com> # Contributor: Ichimonji10 <Ichimonji10@gmail.com>
pkgname=rbenv pkgname=rbenv
pkgver=1.2.0 pkgver=1.3.0
pkgrel=2 pkgrel=1
pkgdesc="Simple Ruby version manager" pkgdesc="Simple Ruby version manager"
arch=('any') arch=('any')
url="https://github.com/rbenv/rbenv" url="https://github.com/rbenv/rbenv"
@ -15,7 +16,7 @@ conflicts=('rbenv-git')
install="rbenv.install" install="rbenv.install"
noextract=("v${pkgver}") noextract=("v${pkgver}")
source=("https://github.com/rbenv/rbenv/tarball/v${pkgver}") source=("https://github.com/rbenv/rbenv/tarball/v${pkgver}")
md5sums=('3ef4eea80b9a4f85f3978beb25665a2a') md5sums=('a7a67a60320cde5616b3a532a24f3756')
build() { build() {
cd $srcdir cd $srcdir

View file

@ -3,7 +3,7 @@
# Contributer: Vincent Demeester <vincent@sbr.io> # Contributer: Vincent Demeester <vincent@sbr.io>
# Contributer: Alex Ogier <alex.ogier@gmail.com> # Contributer: Alex Ogier <alex.ogier@gmail.com>
pkgname=ruby-build pkgname=ruby-build
pkgver=20240612 pkgver=20241213
pkgrel=1 pkgrel=1
_file="${pkgname}-v${pkgver}.tar.gz" _file="${pkgname}-v${pkgver}.tar.gz"
pkgdesc="Compile and install Ruby" pkgdesc="Compile and install Ruby"
@ -16,7 +16,7 @@ optdepends=(
'libyaml: install recent versions of mri' 'libyaml: install recent versions of mri'
) )
source=($_file::$url/archive/v$pkgver.tar.gz) source=($_file::$url/archive/v$pkgver.tar.gz)
sha512sums=('84f60ae40df435a3be459d33fc93b81f62721428b656f60ac4c424aa904b5b8c4900e50aa522908827df79cb1499baba53e845fba964d67fa98daa24735cc335') sha512sums=('3b2de461e9b098d8c06888dd75f6b4c440a855a961f63ec9550d0d718b3f84cda83b7aafaff37bf99fb89650a40d83347f3cc3b1d7be6648afaa92b939d01562')
build() { build() {
cd $srcdir cd $srcdir

View file

@ -2,7 +2,7 @@
pkgname=sacd-extract-git pkgname=sacd-extract-git
_pkgname=sacd-ripper _pkgname=sacd-ripper
pkgver=0.3.9.3.r117.g96084ff pkgver=0.3.9.3.r117.g96084ff
pkgrel=15 pkgrel=16
pkgdesc="Extract DSDIFF files, DSF files or RAW ISO from SACD" pkgdesc="Extract DSDIFF files, DSF files or RAW ISO from SACD"
arch=('i686' 'pentium4' 'x86_64') arch=('i686' 'pentium4' 'x86_64')
url="https://github.com/EuFlo/sacd-ripper" url="https://github.com/EuFlo/sacd-ripper"

View file

@ -0,0 +1,12 @@
diff '--color=auto' -ura smem-1.5/smem smem-1.5.new/smem
--- smem-1.5/smem 2015-05-15 12:52:02.000000000 -0500
+++ smem-1.5.new/smem 2024-10-13 02:55:19.670091304 -0500
@@ -646,7 +646,7 @@
pl = []
ind = numpy.arange(len(l))
- for n in xrange(len(rc)):
+ for n in range(len(rc)):
pl.append(pylab.bar(ind + offset + width * n,
[x[1][rc[n]] for x in l], width, color=gc(n)))

View file

@ -6,15 +6,24 @@
pkgname=smem pkgname=smem
pkgver=1.5 pkgver=1.5
pkgrel=5 pkgrel=6
pkgdesc="Generate reports on memory usage." pkgdesc="Generate reports on memory usage."
url="https://www.selenic.com/smem/" url="https://www.selenic.com/smem/"
license=("GPL") license=("GPL")
depends=('python') depends=('python')
optdepends=('python-matplotlib: for chart generation') optdepends=('python-matplotlib: for chart generation')
arch=('x86_64') arch=('x86_64')
source=("$pkgname-$pkgver.tgz::https://www.selenic.com/repo/smem/archive/$pkgver.tar.gz") source=(
sha256sums=('5c3907b0ac9d3252cbbc5cb9ebe93f0c2b602df67376d9050c09146871822293') "$pkgname-$pkgver.tgz::https://www.selenic.com/repo/smem/archive/$pkgver.tar.gz"
"0001-Fix-xrange-in-Python-3.patch"
)
sha256sums=('5c3907b0ac9d3252cbbc5cb9ebe93f0c2b602df67376d9050c09146871822293'
'efa7c105a60d0a345aec981c534d79c8c1e35988d527bd3a8e28a728c5de8ea8')
prepare() {
cd "$pkgname-$pkgver"
patch -N -p1 -i ../0001-Fix-xrange-in-Python-3.patch
}
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname-$pkgver"

View file

@ -1,4 +1,5 @@
# Maintainer: RubenKelevra # Maintainer: RubenKelevra
# Contributor: jprt
# Contributor: Zepman <the_zep_man@hotmail.com> # Contributor: Zepman <the_zep_man@hotmail.com>
# Contributor: Michael Lass <bevan@bi-co.net> # Contributor: Michael Lass <bevan@bi-co.net>
# Contributor: Doug Newgard <scimmia at archlinux dot info> # Contributor: Doug Newgard <scimmia at archlinux dot info>
@ -7,22 +8,23 @@
# BUILD INSTRUCTIONS: # BUILD INSTRUCTIONS:
# ------------------- # -------------------
# #
# Please note, that usage of Microsoft fonts outside running Windows # Please note that the usage of Microsoft fonts outside the Windows system is prohibited
# system is prohibited by EULA (although in certain countries EULA is invalid). # by EULA (although in certain countries, EULA is invalid).
# Please consult Microsoft license before using fonts. # Please consult the Microsoft license before using fonts.
# #
# This PKGBUILD attempts to download fonts directly from Microsoft, by # This PKGBUILD attempts to download fonts directly from Microsoft, by retrieving
# retrieving selective parts of the Windows 10 Enterprise 90-day evaluation # selective parts of the Windows 10 Enterprise 90-day evaluation edition. This only works
# edition. This only works if the user is allowed to mount filesystems through # if the user is allowed to mount filesystems through udisks2. This is determined by
# udisks2. This is determined by Polkit, which by default only allows users to # Polkit, which by default only allows users to do this when they are logged in locally
# do this when they are logged in locally (e.g. not through SSH). # (e.g., not through SSH).
# #
# If it is possible to download fonts directly, around 200 MiB of data will be # If it is possible to download fonts directly, around 200 MB of data will be downloaded.
# downloaded. Downloading the fonts this way can take 8-20 minutes, even on a # Downloading the fonts this way can take 820 minutes, even on a fast connection. Be
# fast connection. Be patient. Note that for tis method, it is necessary to # patient. Note that for this method, it is necessary to mount an HTTP source and an ISO
# mount an HTTP source and an ISO file as a loop device using FUSE. If the # file as a loop device using FUSE. If the build fails, it might be that these must be
# build fails, it might be that these must be unmounted manually. This can be # unmounted manually. If you rerun the build, this cleanup is done automatically.
# done with: #
# To clean up manually run:
# #
# $ udisksctl unmount -b /dev/loop0 # $ udisksctl unmount -b /dev/loop0
# $ udisksctl loop-delete -b /dev/loop0 # $ udisksctl loop-delete -b /dev/loop0
@ -31,41 +33,41 @@
# Replace /dev/loop0 with the relevant loop device, which is reported during # Replace /dev/loop0 with the relevant loop device, which is reported during
# package build. # package build.
# #
# For the download, HTTP is used instead of HTTPS due to that httpfs2 does not # For the download, HTTP is used instead of HTTPS because httpfs2 does not support modern
# support modern TLS versions. A file integrity check is performed after # TLS versions. A file integrity check is performed after the download. Due to the
# download. Due to the unconventional way that the data is downloaded, the # unconventional way that the data is downloaded, the verification is done in prepare().
# verification is done in prepare().
# #
# If fonts cannot be downloaded directly, the ISO fill will be fully # If fonts cannot be downloaded directly, the ISO fill will be fully downloaded. Due to
# downloaded. Due to that install.wim will be extracted from the ISO, it is # that install.wim will be extracted from the ISO, it is assumed that twice its size
# assumed that twice its size (almost 8 GiB) is necessary as temporary disk # (almost 8 GiB) is necessary as temporary disk space. A free disk space check is
# space. A free disk space check is performed before the ISO is downloaded. # performed before the ISO is downloaded.
# #
# Please ignore any 'ln' errors when building this package. This is expected # Please ignore any 'ln' errors when building this package. This is expected behavior.
# behavior.
# #
# If for some reason you want to download the full ISO file, please visit: # If, for some reason, you want to download the full ISO file, please visit:
# #
# http://www.microsoft.com/en-us/evalcenter/evaluate-windows-10-enterprise # http://www.microsoft.com/en-us/evalcenter/evaluate-windows-10-enterprise
# #
# This package is based on ttf-ms-win10. Use that package if font files from # This package is based on ttf-ms-win10. Use that package if font files from a local
# a local source need to be used. # source need to be used.
# #
# ttf-ms-win10 is considered to be upstream for this package, which is why its # ttf-ms-win10 is considered to be upstream for this package, which is why its
# maintainers and contributors are added as contributors to this package. # maintainers and contributors are added as contributors to this package.
# Without their effort this package would not exist, nor be updated. # Without their effort, this package would not exist or be updated.
# #
pkgbase=ttf-ms-win10-auto pkgbase=ttf-ms-win10-auto
pkgname=($pkgbase{,-japanese,-korean,-sea,-thai,-zh_cn,-zh_tw,-other}) pkgname=($pkgbase{,-japanese,-korean,-sea,-thai,-zh_cn,-zh_tw,-other})
pkgver=10.0.19042.789 pkgver=10.0.19042.789
pkgrel=6 pkgrel=7
arch=(any) arch=(any)
url='http://www.microsoft.com/typography/fonts/product.aspx?PID=164' url='http://www.microsoft.com/typography/fonts/product.aspx?PID=164'
license=(custom) license=(custom)
provides=(ttf-font ttf-ms-win10) provides=(ttf-font ttf-ms-win10)
conflicts=(ttf-vista-fonts ttf-ms-win11-auto ttf-ms-win11) conflicts=(ttf-vista-fonts ttf-ms-win11-auto ttf-ms-win11)
makedepends=(udisks2 p7zip httpfs2-2gbplus) makedepends=(udisks2 p7zip httpfs2-2gbplus wget udftools util-linux)
# URL of ISO file from which to extract the fonts. # URL of ISO file from which to extract the fonts.
# Must be HTTP due to limitations of httpfs2. # Must be HTTP due to limitations of httpfs2.
@ -392,14 +394,30 @@ prepare() {
if [ $_mount ]; then if [ $_mount ]; then
echo "allowed" echo "allowed"
echo "- Checking for old loop devices created by by this package"
for loop_device in $(losetup --list | grep "${pkgbase}" | awk '{print $1}')
do
echo -ne " - deleting '$loop_device'..."
udisksctl loop-delete -b "$loop_device"
echo " done."
done
for fuse_mount_points in $(cat /etc/mtab | grep "${pkgbase}" | awk '{print $2}')
do
echo -ne " - unmounting '$fuse_mount_points'..."
fusermount -u "$fuse_mount_points"
echo " done."
done
echo "- Downloading fonts directly" echo "- Downloading fonts directly"
mkdir -p mnt/http mkdir -p mnt/http
echo " - Mounting HTTP file" echo " - Mounting HTTP file"
httpfs2 -c /dev/null "$_iso" mnt/http httpfs2 -c /dev/null "$_iso" mnt/http
echo " - Creating loop device" echo " - Creating loop device"
_isoFile="mnt/http/$(echo "$_iso" | awk -F "/" '{print $NF}')" _isoFile="mnt/http/$(echo "$_iso" | awk -F "/" '{print $NF}')"
_loopDev=$(udisksctl loop-setup -r -f "${_isoFile}" --no-user-interaction | awk '{print $NF}') _loopDev=$(udisksctl loop-setup -r -f "${_isoFile}" --no-user-interaction 2>/dev/null | awk '{print $NF}')
_loopDev=${_loopDev::-1} _loopDev=$(losetup --list | grep "$_isoFile" | awk '{print $1}')
echo " - Mounting loop device: $_loopDev" echo " - Mounting loop device: $_loopDev"
_mountpoint=$(udisksctl mount -t udf -b "$_loopDev" --no-user-interaction | awk '{print $NF}') _mountpoint=$(udisksctl mount -t udf -b "$_loopDev" --no-user-interaction | awk '{print $NF}')
echo " - Loop device mounted as ISO at: $_mountpoint" echo " - Loop device mounted as ISO at: $_mountpoint"
@ -410,10 +428,23 @@ prepare() {
echo " - Unmounting loop device $_loopDev as ISO at: $_mountpoint" echo " - Unmounting loop device $_loopDev as ISO at: $_mountpoint"
udisksctl unmount -b "$_loopDev" --no-user-interaction udisksctl unmount -b "$_loopDev" --no-user-interaction
echo " - Deleting loop device: $_loopDev"
udisksctl loop-delete -b "$_loopDev" --no-user-interaction echo " - Deleting loop devices..."
echo " - Unmounting HTTP file" for loop_device in $(losetup --list | grep "${pkgbase}" | awk '{print $1}')
fusermount -uz mnt/http do
echo -ne " - deleting '$loop_device'..."
udisksctl loop-delete -b "$loop_device"
echo " done."
done
echo " - Unmounting HTTP files..."
for fuse_mount_points in $(cat /etc/mtab | grep "${pkgbase}" | awk '{print $2}')
do
echo -ne " - unmounting '$fuse_mount_points'..."
fusermount -u "$fuse_mount_points"
echo " done."
done
rmdir -p mnt/http rmdir -p mnt/http
else else
echo "not allowed" echo "not allowed"
@ -431,7 +462,7 @@ prepare() {
fi fi
echo " - Downloading ISO" echo " - Downloading ISO"
curl -JLO "$_iso" wget --no-verbose -c --tries=20 --waitretry=20 --timeout=60 "$_iso"
echo " - Extracting Windows installation image" echo " - Extracting Windows installation image"
7z x $(echo "$_iso" | awk -F "/" '{print $NF}') sources/install.wim 7z x $(echo "$_iso" | awk -F "/" '{print $NF}') sources/install.wim

View file

@ -4,7 +4,7 @@
_pkgname=vdhcoapp _pkgname=vdhcoapp
pkgname="$_pkgname-bin" pkgname="$_pkgname-bin"
pkgver=2.0.19 pkgver=2.0.20
pkgrel=2 pkgrel=2
arch=('x86_64') arch=('x86_64')
pkgdesc="Companion application for Video DownloadHelper browser add-on (binary version)" pkgdesc="Companion application for Video DownloadHelper browser add-on (binary version)"
@ -19,7 +19,7 @@ conflicts=('vdhcoapp')
source=("$_pkgname-$pkgver-linux-$arch.deb::https://github.com/aclap-dev/$_pkgname/releases/download/v${pkgver}/$_pkgname-linux-$arch.deb") source=("$_pkgname-$pkgver-linux-$arch.deb::https://github.com/aclap-dev/$_pkgname/releases/download/v${pkgver}/$_pkgname-linux-$arch.deb")
sha256sums=('496d341eef326f3fb6f0ddf825b309d6e18a4ddb7f1bec7fe74d9282ae94dfc4') sha256sums=('312423d4ad54bf8bf391efa3669a4aafa7c98d9aaf1fe4af3d5b5014c28f4730')
prepare() { prepare() {
mkdir -p "$srcdir/$pkgname" mkdir -p "$srcdir/$pkgname"

View file

@ -6,7 +6,7 @@
_pkgname="vdhcoapp" _pkgname="vdhcoapp"
pkgname="$_pkgname-git" pkgname="$_pkgname-git"
pkgver=2.0.20.r4.gf8cc614 pkgver=2.0.20.r4.gf8cc614
pkgrel=15 pkgrel=16
pkgdesc="Companion application for Video DownloadHelper browser add-on" pkgdesc="Companion application for Video DownloadHelper browser add-on"
url="https://github.com/aclap-dev/vdhcoapp" url="https://github.com/aclap-dev/vdhcoapp"
license=('GPL-2.0-or-later') license=('GPL-2.0-or-later')