summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorshinka2025-04-06 22:20:02 +0800
committershinka2025-04-06 22:20:02 +0800
commit7dc42629749e0d7f86176caedf8fa0a777cf7f68 (patch)
tree02136ef978c91d723c3a9f0772f78a262ce39b16 /PKGBUILD
parent95f4f8228479949a9c905854d47beea3fb1984ec (diff)
downloadaur-7dc42629749e0d7f86176caedf8fa0a777cf7f68.tar.gz
change extract method
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e9e934052213..d186366aefaa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,11 +10,12 @@ license=('AGPL-3.0-or-later')
source_x86_64=("https://d.myani.org/v${pkgver//_/-}/ani-${pkgver//_/-}-linux-${CARCH}.appimage")
sha512sums_x86_64=('SKIP')
depends=('vlc')
+makedepends=('7zip')
#options=('!strip' )
prepare() {
chmod +x "${srcdir}/ani-${pkgver//_/-}-linux-${CARCH}.appimage"
- ${srcdir}/ani-${pkgver//_/-}-linux-${CARCH}.appimage --appimage-extract || true
+ 7z x ${srcdir}/ani-${pkgver//_/-}-linux-${CARCH}.appimage -o${srcdir}/squashfs-root
sed -i -E "s|Exec=Ani|Exec=/usr/bin/${pkgname}|g" "${srcdir}/squashfs-root/${pkgname}.desktop"
sed -i -E "s|Icon=icon|Icon=${pkgname}|g" "${srcdir}/squashfs-root/${pkgname}.desktop"
}