diff options
author | Excitable Snowball | 2022-02-06 22:32:00 +0000 |
---|---|---|
committer | Excitable Snowball | 2022-02-06 22:32:00 +0000 |
commit | 30218d8e012dfb05761612cab2781d503a4442b0 (patch) | |
tree | 6c18d7b37aad569c031e1c1b5c0a228842c8259a /PKGBUILD | |
download | aur-30218d8e012dfb05761612cab2781d503a4442b0.tar.gz |
1.1.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..67a7ac46a19e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Excitable Snowball <excitablesnowball@gmail.com> +pkgname=inkscape-appimage +pkgver=1.1.2 +pkgrel=1 +pkgdesc="Professional vector graphics editor (official AppImage release)" +arch=('x86_64') +url="https://inkscape.org/" +license=('GPL' 'LGPL') +depends=() +provides=('inkscape') +conflicts=('inkscape') +options=('!strip') +source=("inkscape-$pkgver.AppImage::https://inkscape.org/gallery/item/31669/Inkscape-0a00cf5-x86_64.AppImage" + "inkscape.sh") +sha256sums=('b7a99b6c0ee2817706e77803643f4a6caf9e35bdec928e963c1d2ae86e5e4beb' + '52214003ba59053e0faa2030d48b03c16bf540babd40ff7360928cd0145aa5de') + +prepare() { + cd "${srcdir}" + chmod +x inkscape-${pkgver}.AppImage + ./inkscape-${pkgver}.AppImage --appimage-extract org.inkscape.Inkscape.desktop + ./inkscape-${pkgver}.AppImage --appimage-extract usr/share/icons/hicolor +} + +package() { + install -Dm755 "${srcdir}/inkscape-${pkgver}.AppImage" "${pkgdir}/opt/appimages/inkscape.AppImage" + install -Dm755 "${srcdir}/inkscape.sh" "${pkgdir}/usr/bin/inkscape" + install -dm755 "${pkgdir}/usr/share" + install -dm755 "${pkgdir}/usr/share/applications" + install -m644 "${srcdir}/squashfs-root/org.inkscape.Inkscape.desktop" "${pkgdir}/usr/share/applications/org.inkscape.Inkscape.desktop" + cp -r --no-preserve=mode,ownership "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/" +} |