Compare commits
No commits in common. "509d9ee295f0704e79790383e328676549ce4dc4" and "46fbb72697118ce0a2e74132ccf00221c65d1c58" have entirely different histories.
509d9ee295
...
46fbb72697
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Giovanni Harting <539@idlegandalf.com>
|
||||
|
||||
pkgname=alhp-mirrorlist
|
||||
pkgver=20241215
|
||||
pkgver=20240615
|
||||
pkgrel=1
|
||||
pkgdesc='ALHP mirror list for use by pacman'
|
||||
arch=(any)
|
||||
|
@ -12,7 +12,7 @@ backup=(
|
|||
'etc/pacman.d/alhp-mirrorlist.ipfs'
|
||||
)
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
|
||||
b2sums=('4e1972517b13febd5369eb574e87b571199480f46cb62f9cbd93a46a28a9db2ff46b3cf719ecb4d2edd5a57d8afd42a9e984a6b560cd739f808fdbb4aaf045e8')
|
||||
b2sums=('181a3d7c71fe37eb25c560b3e8d4cb29e96b105781bb007799d7e117e8bde9ced7c58024ef0e4947ee5e4cc347c40595a867f79c1d03c186e6fa53198b66631d')
|
||||
|
||||
package() {
|
||||
install -Dm644 alhp-mirrorlist/mirrorlist "$pkgdir"/etc/pacman.d/alhp-mirrorlist
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
# Contributor: Marie Piontek <marie@kaifa.ch>
|
||||
|
||||
pkgname=an-anime-game-launcher-bin
|
||||
pkgver=3.13.0
|
||||
pkgver=3.10.0
|
||||
pkgrel=1
|
||||
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" "an-anime-game-launcher")
|
||||
conflicts=("an-anime-game-launcher-git")
|
||||
provides=("an-anime-game-launcher")
|
||||
arch=("x86_64")
|
||||
license=("GPL3")
|
||||
|
@ -14,6 +14,7 @@ license=("GPL3")
|
|||
depends=(
|
||||
"libadwaita"
|
||||
"xdg-desktop-portal"
|
||||
"xdelta3"
|
||||
"libwebp"
|
||||
"p7zip"
|
||||
"git"
|
||||
|
@ -34,7 +35,7 @@ source=(
|
|||
)
|
||||
|
||||
md5sums=(
|
||||
'35050295b9225647323ada0afb76245b'
|
||||
'f6c7fc6e1076f4db7ced0dc59ff315c0'
|
||||
'c1a5499b80a55d3d238ef5c5d2c93c99'
|
||||
'f0cfe73897e8f49e92e0dfc41326fb0b'
|
||||
)
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
# Maintainer: Kordian Bruck <k@bruck.me>
|
||||
|
||||
pkgname=android-studio
|
||||
pkgver=2024.2.1.12
|
||||
pkgver=2024.1.1.11
|
||||
pkgrel=1
|
||||
pkgdesc="The official Android IDE (Stable branch)"
|
||||
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"
|
||||
"$pkgname.desktop"
|
||||
"license.html")
|
||||
sha256sums=('4df51ac7d73e45203383418a537c9562c58bef6ab80d4074cd98acb387e5caa6'
|
||||
sha256sums=('d8fa8ecfe415b44513350901501e2a0f429ca033cf1805054b1c816c4a704565'
|
||||
'73cd2dde1d0f99aaba5baad1e2b91c834edd5db3c817f6fb78868d102360d3c4'
|
||||
'9a7563f7fb88c9a83df6cee9731660dc73a039ab594747e9e774916275b2e23e')
|
||||
|
||||
|
@ -39,7 +39,7 @@ package() {
|
|||
# Install the application
|
||||
install -d $pkgdir/{opt/$pkgname,usr/bin}
|
||||
cp -a bin lib jbr plugins license LICENSE.txt build.txt product-info.json $pkgdir/opt/$pkgname
|
||||
ln -s /opt/android-studio/bin/studio $pkgdir/usr/bin/$pkgname
|
||||
ln -s /opt/android-studio/bin/studio.sh $pkgdir/usr/bin/$pkgname
|
||||
|
||||
# Copy licenses
|
||||
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Maintainer: Sainnhe Park <sainnhe@gmail.com>
|
||||
pkgname=code-marketplace
|
||||
pkgver=1.95.0
|
||||
pkgver=1.90.0
|
||||
pkgrel=1
|
||||
pkgdesc='Enable vscode marketplace in Code OSS'
|
||||
arch=('any')
|
||||
|
@ -14,7 +14,7 @@ source=('code-marketplace.hook'
|
|||
'patch.json')
|
||||
md5sums=('ce502275aa945985182b51420fc6037c'
|
||||
'9ed6f3972479ab6d3d053e7c47ead55a'
|
||||
'63fcab1dcfb25eacc2697cae3d650ff3')
|
||||
'56531cac5e74070cde3229c0a5e1503b')
|
||||
|
||||
package() {
|
||||
install -Dm 644 "${srcdir}"/code-marketplace.hook "${pkgdir}"/usr/share/libalpm/hooks/code-marketplace.hook
|
||||
|
|
|
@ -504,12 +504,10 @@
|
|||
"GitHub.copilot": {
|
||||
"onFileOpen": [
|
||||
{
|
||||
"pathGlob": "{**/*.ts,**/*.tsx,**/*.js,**/*.jsx,**/*.py,**/*.go,**/*.rb,**/*.html,**/*.css,**/*.php,**/*.cpp,**/*.vue,**/*.c,**/*.sql,**/*.java,**/*.cs,**/*.rs,**/*.dart,**/*.ps,**/*.ps1,**/*.tex}"
|
||||
"pathGlob": "{**/*.ts,**/*.tsx,**/*.js,**/*.py,**/*.go,**/*.rb}"
|
||||
}
|
||||
],
|
||||
"onSettingsEditorOpen": {
|
||||
"descriptionOverride": "GitHub Copilot is an AI pair programmer tool that helps you write code faster and smarter."
|
||||
}
|
||||
"onSettingsEditorOpen": {}
|
||||
},
|
||||
"GitHub.vscode-github-actions": {
|
||||
"onFileOpen": [
|
||||
|
@ -541,13 +539,6 @@
|
|||
"important": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"Redis.redis-for-vscode": {
|
||||
"onFileOpen": [
|
||||
{
|
||||
"pathGlob": "{**/redis.*,**/redis-server.*,**/redis_*,**/redisinsight.*}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"keymapExtensionTips": [
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
# This script will update the ./patch.json to match the official release
|
||||
# Usage: ./update.py <version-number>
|
||||
# Where <version-number> is the version of the official release
|
||||
# This script can update the content of ./patch.json to the latest version
|
||||
# Usage: ./update.py /path/to/extracted/produce.json
|
||||
# Where /path/to/extracted/produce.json is extracted from the latest version of official vscode release
|
||||
|
||||
import json
|
||||
import os
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
import json
|
||||
|
||||
key_list = [
|
||||
"extensionsGallery",
|
||||
|
@ -22,38 +19,19 @@ key_list = [
|
|||
"extensionAllowedBadgeProviders",
|
||||
"extensionAllowedBadgeProvidersRegex",
|
||||
"msftInternalDomains",
|
||||
"linkProtectionTrustedDomains",
|
||||
"linkProtectionTrustedDomains"
|
||||
]
|
||||
|
||||
product_path = sys.argv[1]
|
||||
patch_path = "patch.json"
|
||||
|
||||
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:
|
||||
with open(product_path, "r") as product_file:
|
||||
product_data = json.load(product_file)
|
||||
|
||||
patch_data = {}
|
||||
patch_data = {}
|
||||
|
||||
for key in key_list:
|
||||
for key in key_list:
|
||||
patch_data[key] = product_data[key]
|
||||
|
||||
with open("./patch.json", "w") as patch_file:
|
||||
json.dump(patch_data, patch_file, indent="\t")
|
||||
|
||||
subprocess.run(["updpkgsums", "./PKGBUILD"])
|
||||
|
||||
|
||||
version = sys.argv[1]
|
||||
fetch_product_json(version)
|
||||
update_package()
|
||||
with open(patch_path, "w") as patch_file:
|
||||
json.dump(patch_data, patch_file, indent='\t')
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname=httpdirfs
|
||||
pkgver=1.2.7
|
||||
pkgrel=16
|
||||
pkgrel=15
|
||||
pkgdesc="A filesystem which allows you to mount HTTP directory listings"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/fangfufu/httpdirfs"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Bradford Smith <aur@bradfords.me>
|
||||
|
||||
pkgname=informant
|
||||
pkgver=0.6.0
|
||||
pkgver=0.5.1
|
||||
pkgrel=1
|
||||
pkgdesc="An Arch Linux News reader and pacman hook"
|
||||
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')
|
||||
source=("https://github.com/bradford-smith94/$pkgname/archive/v$pkgver.tar.gz")
|
||||
options=(zipman)
|
||||
sha256sums=('aa1acb6677c70f389aee64efa706ae0c87c6339ae18d501f83fefa1c8bb750b4')
|
||||
sha256sums=('2c88b1303fd623eef390e7bcfafeb40f45b847a7f88514726e36c66f6763c53e')
|
||||
|
||||
|
||||
build() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#Maintainer: Bhoppi Chaw <bhoppi#outlook,com>
|
||||
|
||||
pkgname=nutstore-experimental
|
||||
pkgver=6.3.6
|
||||
pkgver=6.3.0
|
||||
pkgrel=1
|
||||
pkgdesc='Nutstore experimental version.'
|
||||
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")
|
||||
sha256sums=('a4aa358d45b306cbeac449f2256f00a5b81a95197394eba7efa96eaae820cf5b'
|
||||
'd320e071403cdad44881beb880f5ccfa8ec0a625718a9f572dce0cc9fff81ade')
|
||||
sha256sums_x86_64=('09739a9798a4ac59922a1d82f5dd5d088b46965b75a1d644d88af24594543522')
|
||||
sha256sums_x86_64=('38a2a6a80577c12c5168615f23cfe5a9ed3442e4dd18e8fe6651bf806bc1d758')
|
||||
|
||||
build() {
|
||||
cd $srcdir/gnome-config
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
pkgname=quarto-cli
|
||||
pkgver=1.6.39
|
||||
pkgrel=16
|
||||
pkgrel=15
|
||||
#_pkgbasename=quarto-cli
|
||||
_denodomver="0.1.41-alpha-artifacts"
|
||||
_denover="2.0.4-1"
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
# Maintainer: Pranav Sharma <pranav.sharma.ama@gmail.com>
|
||||
# Contributor: Chris Down <chris@chrisdown.name>
|
||||
# Maintainer: Chris Down <chris@chrisdown.name>
|
||||
# Contributor: Vladimir Chizhov <jagoterr@gmail.com>
|
||||
# Contributor: Jochen Schalanda <jochen+aur (-AT-) schalanda.name>
|
||||
# Contributor: Ichimonji10 <Ichimonji10@gmail.com>
|
||||
pkgname=rbenv
|
||||
pkgver=1.3.0
|
||||
pkgrel=1
|
||||
pkgver=1.2.0
|
||||
pkgrel=2
|
||||
pkgdesc="Simple Ruby version manager"
|
||||
arch=('any')
|
||||
url="https://github.com/rbenv/rbenv"
|
||||
|
@ -16,7 +15,7 @@ conflicts=('rbenv-git')
|
|||
install="rbenv.install"
|
||||
noextract=("v${pkgver}")
|
||||
source=("https://github.com/rbenv/rbenv/tarball/v${pkgver}")
|
||||
md5sums=('a7a67a60320cde5616b3a532a24f3756')
|
||||
md5sums=('3ef4eea80b9a4f85f3978beb25665a2a')
|
||||
|
||||
build() {
|
||||
cd $srcdir
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Contributer: Vincent Demeester <vincent@sbr.io>
|
||||
# Contributer: Alex Ogier <alex.ogier@gmail.com>
|
||||
pkgname=ruby-build
|
||||
pkgver=20241213
|
||||
pkgver=20240612
|
||||
pkgrel=1
|
||||
_file="${pkgname}-v${pkgver}.tar.gz"
|
||||
pkgdesc="Compile and install Ruby"
|
||||
|
@ -16,7 +16,7 @@ optdepends=(
|
|||
'libyaml: install recent versions of mri'
|
||||
)
|
||||
source=($_file::$url/archive/v$pkgver.tar.gz)
|
||||
sha512sums=('3b2de461e9b098d8c06888dd75f6b4c440a855a961f63ec9550d0d718b3f84cda83b7aafaff37bf99fb89650a40d83347f3cc3b1d7be6648afaa92b939d01562')
|
||||
sha512sums=('84f60ae40df435a3be459d33fc93b81f62721428b656f60ac4c424aa904b5b8c4900e50aa522908827df79cb1499baba53e845fba964d67fa98daa24735cc335')
|
||||
|
||||
build() {
|
||||
cd $srcdir
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
pkgname=sacd-extract-git
|
||||
_pkgname=sacd-ripper
|
||||
pkgver=0.3.9.3.r117.g96084ff
|
||||
pkgrel=16
|
||||
pkgrel=15
|
||||
pkgdesc="Extract DSDIFF files, DSF files or RAW ISO from SACD"
|
||||
arch=('i686' 'pentium4' 'x86_64')
|
||||
url="https://github.com/EuFlo/sacd-ripper"
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
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)))
|
||||
|
|
@ -6,24 +6,15 @@
|
|||
|
||||
pkgname=smem
|
||||
pkgver=1.5
|
||||
pkgrel=6
|
||||
pkgrel=5
|
||||
pkgdesc="Generate reports on memory usage."
|
||||
url="https://www.selenic.com/smem/"
|
||||
license=("GPL")
|
||||
depends=('python')
|
||||
optdepends=('python-matplotlib: for chart generation')
|
||||
arch=('x86_64')
|
||||
source=(
|
||||
"$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
|
||||
}
|
||||
source=("$pkgname-$pkgver.tgz::https://www.selenic.com/repo/smem/archive/$pkgver.tar.gz")
|
||||
sha256sums=('5c3907b0ac9d3252cbbc5cb9ebe93f0c2b602df67376d9050c09146871822293')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# Maintainer: RubenKelevra
|
||||
# Contributor: jprt
|
||||
# Contributor: Zepman <the_zep_man@hotmail.com>
|
||||
# Contributor: Michael Lass <bevan@bi-co.net>
|
||||
# Contributor: Doug Newgard <scimmia at archlinux dot info>
|
||||
|
@ -8,23 +7,22 @@
|
|||
# BUILD INSTRUCTIONS:
|
||||
# -------------------
|
||||
#
|
||||
# Please note that the usage of Microsoft fonts outside the Windows system is prohibited
|
||||
# by EULA (although in certain countries, EULA is invalid).
|
||||
# Please consult the Microsoft license before using fonts.
|
||||
# Please note, that usage of Microsoft fonts outside running Windows
|
||||
# system is prohibited by EULA (although in certain countries EULA is invalid).
|
||||
# Please consult Microsoft license before using fonts.
|
||||
#
|
||||
# This PKGBUILD attempts to download fonts directly from Microsoft, by retrieving
|
||||
# selective parts of the Windows 10 Enterprise 90-day evaluation edition. This only works
|
||||
# if the user is allowed to mount filesystems through udisks2. This is determined by
|
||||
# Polkit, which by default only allows users to do this when they are logged in locally
|
||||
# (e.g., not through SSH).
|
||||
# This PKGBUILD attempts to download fonts directly from Microsoft, by
|
||||
# retrieving selective parts of the Windows 10 Enterprise 90-day evaluation
|
||||
# edition. This only works if the user is allowed to mount filesystems through
|
||||
# udisks2. This is determined by Polkit, which by default only allows users to
|
||||
# do this when they are logged in locally (e.g. not through SSH).
|
||||
#
|
||||
# If it is possible to download fonts directly, around 200 MB of data will be downloaded.
|
||||
# Downloading the fonts this way can take 8–20 minutes, even on a fast connection. Be
|
||||
# patient. Note that for this method, it is necessary to mount an HTTP source and an ISO
|
||||
# file as a loop device using FUSE. If the build fails, it might be that these must be
|
||||
# unmounted manually. If you rerun the build, this cleanup is done automatically.
|
||||
#
|
||||
# To clean up manually run:
|
||||
# If it is possible to download fonts directly, around 200 MiB of data will be
|
||||
# downloaded. Downloading the fonts this way can take 8-20 minutes, even on a
|
||||
# fast connection. Be patient. Note that for tis method, it is necessary to
|
||||
# mount an HTTP source and an ISO file as a loop device using FUSE. If the
|
||||
# build fails, it might be that these must be unmounted manually. This can be
|
||||
# done with:
|
||||
#
|
||||
# $ udisksctl unmount -b /dev/loop0
|
||||
# $ udisksctl loop-delete -b /dev/loop0
|
||||
|
@ -33,41 +31,41 @@
|
|||
# Replace /dev/loop0 with the relevant loop device, which is reported during
|
||||
# package build.
|
||||
#
|
||||
# For the download, HTTP is used instead of HTTPS because httpfs2 does not support modern
|
||||
# TLS versions. A file integrity check is performed after the download. Due to the
|
||||
# unconventional way that the data is downloaded, the verification is done in prepare().
|
||||
# For the download, HTTP is used instead of HTTPS due to that httpfs2 does not
|
||||
# support modern TLS versions. A file integrity check is performed after
|
||||
# download. Due to the unconventional way that the data is downloaded, the
|
||||
# verification is done in prepare().
|
||||
#
|
||||
# If fonts cannot be downloaded directly, the ISO fill will be fully downloaded. Due to
|
||||
# that install.wim will be extracted from the ISO, it is assumed that twice its size
|
||||
# (almost 8 GiB) is necessary as temporary disk space. A free disk space check is
|
||||
# performed before the ISO is downloaded.
|
||||
# If fonts cannot be downloaded directly, the ISO fill will be fully
|
||||
# downloaded. Due to that install.wim will be extracted from the ISO, it is
|
||||
# assumed that twice its size (almost 8 GiB) is necessary as temporary disk
|
||||
# space. A free disk space check is performed before the ISO is downloaded.
|
||||
#
|
||||
# Please ignore any 'ln' errors when building this package. This is expected behavior.
|
||||
# Please ignore any 'ln' errors when building this package. This is expected
|
||||
# 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
|
||||
#
|
||||
# This package is based on ttf-ms-win10. Use that package if font files from a local
|
||||
# source need to be used.
|
||||
# This package is based on ttf-ms-win10. Use that package if font files from
|
||||
# a local source need to be used.
|
||||
#
|
||||
# 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.
|
||||
# Without their effort, this package would not exist or be updated.
|
||||
# Without their effort this package would not exist, nor be updated.
|
||||
#
|
||||
|
||||
|
||||
|
||||
pkgbase=ttf-ms-win10-auto
|
||||
pkgname=($pkgbase{,-japanese,-korean,-sea,-thai,-zh_cn,-zh_tw,-other})
|
||||
pkgver=10.0.19042.789
|
||||
pkgrel=7
|
||||
pkgrel=6
|
||||
arch=(any)
|
||||
url='http://www.microsoft.com/typography/fonts/product.aspx?PID=164'
|
||||
license=(custom)
|
||||
provides=(ttf-font ttf-ms-win10)
|
||||
conflicts=(ttf-vista-fonts ttf-ms-win11-auto ttf-ms-win11)
|
||||
makedepends=(udisks2 p7zip httpfs2-2gbplus wget udftools util-linux)
|
||||
makedepends=(udisks2 p7zip httpfs2-2gbplus)
|
||||
|
||||
# URL of ISO file from which to extract the fonts.
|
||||
# Must be HTTP due to limitations of httpfs2.
|
||||
|
@ -394,30 +392,14 @@ prepare() {
|
|||
|
||||
if [ $_mount ]; then
|
||||
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"
|
||||
mkdir -p mnt/http
|
||||
echo " - Mounting HTTP file"
|
||||
httpfs2 -c /dev/null "$_iso" mnt/http
|
||||
echo " - Creating loop device"
|
||||
_isoFile="mnt/http/$(echo "$_iso" | awk -F "/" '{print $NF}')"
|
||||
_loopDev=$(udisksctl loop-setup -r -f "${_isoFile}" --no-user-interaction 2>/dev/null | awk '{print $NF}')
|
||||
_loopDev=$(losetup --list | grep "$_isoFile" | awk '{print $1}')
|
||||
_loopDev=$(udisksctl loop-setup -r -f "${_isoFile}" --no-user-interaction | awk '{print $NF}')
|
||||
_loopDev=${_loopDev::-1}
|
||||
echo " - Mounting loop device: $_loopDev"
|
||||
_mountpoint=$(udisksctl mount -t udf -b "$_loopDev" --no-user-interaction | awk '{print $NF}')
|
||||
echo " - Loop device mounted as ISO at: $_mountpoint"
|
||||
|
@ -428,23 +410,10 @@ prepare() {
|
|||
|
||||
echo " - Unmounting loop device $_loopDev as ISO at: $_mountpoint"
|
||||
udisksctl unmount -b "$_loopDev" --no-user-interaction
|
||||
|
||||
echo " - Deleting loop devices..."
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
echo " - Deleting loop device: $_loopDev"
|
||||
udisksctl loop-delete -b "$_loopDev" --no-user-interaction
|
||||
echo " - Unmounting HTTP file"
|
||||
fusermount -uz mnt/http
|
||||
rmdir -p mnt/http
|
||||
else
|
||||
echo "not allowed"
|
||||
|
@ -462,7 +431,7 @@ prepare() {
|
|||
fi
|
||||
|
||||
echo " - Downloading ISO"
|
||||
wget --no-verbose -c --tries=20 --waitretry=20 --timeout=60 "$_iso"
|
||||
curl -JLO "$_iso"
|
||||
echo " - Extracting Windows installation image"
|
||||
7z x $(echo "$_iso" | awk -F "/" '{print $NF}') sources/install.wim
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
_pkgname=vdhcoapp
|
||||
pkgname="$_pkgname-bin"
|
||||
pkgver=2.0.20
|
||||
pkgver=2.0.19
|
||||
pkgrel=2
|
||||
arch=('x86_64')
|
||||
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")
|
||||
|
||||
sha256sums=('312423d4ad54bf8bf391efa3669a4aafa7c98d9aaf1fe4af3d5b5014c28f4730')
|
||||
sha256sums=('496d341eef326f3fb6f0ddf825b309d6e18a4ddb7f1bec7fe74d9282ae94dfc4')
|
||||
|
||||
prepare() {
|
||||
mkdir -p "$srcdir/$pkgname"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
_pkgname="vdhcoapp"
|
||||
pkgname="$_pkgname-git"
|
||||
pkgver=2.0.20.r4.gf8cc614
|
||||
pkgrel=16
|
||||
pkgrel=15
|
||||
pkgdesc="Companion application for Video DownloadHelper browser add-on"
|
||||
url="https://github.com/aclap-dev/vdhcoapp"
|
||||
license=('GPL-2.0-or-later')
|
||||
|
|
Loading…
Reference in a new issue