diff options
author | Brett Eisenberg | 2023-02-16 20:42:10 -0800 |
---|---|---|
committer | Brett Eisenberg | 2023-02-16 20:42:10 -0800 |
commit | aaa3b6cff4d83430eeabd4b4498833001e83b318 (patch) | |
tree | 891aa2d380557ede89a8248c46eebd233f6d9d45 /PKGBUILD | |
download | aur-valentina-appimage.tar.gz |
initial appimage variant transition
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..010ffdc3e7ea --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: AI5C <ai5c@ai5c.com> + +pkgname=valentina-appimage +_pkgname=valentina +pkgver=0.7.52 +pkgrel=1 +pkgdesc="Open source pattern-making software" +arch=('x86_64') +url="https://smart-pattern.com.ua/en/" +license=('GPL3') +depends=('zlib') +options=(!strip) +provides=("${pkgname%-appimage}") +conflicts=("${pkgname%-appimage}") +source_x86_64=("${_pkgname}-${pkgver}.AppImage::https://bitbucket.org/valentinaproject/valentinaproject.bitbucket.io/downloads/valentina_${pkgver}_glibc2.14-${arch}.AppImage") +noextract=("${_pkgname}-${pkgver}.AppImage") +sha512sums_x86_64=('233f4585b9f8626972bf20bcf8cce4d876c15ae740972d00313dc7ca9d52020623d16b1c16448a316b71edb4e33fb29729439494b207180ace4184b9e2398d80') + +package() { + install -Dm755 "${srcdir}/${_pkgname}-${pkgver}.AppImage" "${pkgdir}/opt/${_pkgname}/${_pkgname}.AppImage" + + # Symlink executable + mkdir -p "${pkgdir}/usr/bin" + ln -s "/opt/${_pkgname}/${_pkgname}.AppImage" "${pkgdir}/usr/bin/${_pkgname}" + +} |