summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8afabeb6c0445fcfd3c98d44b9e621297f18ab7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Maintainer: Gallifreyan <gallifreyan at protonmail dot ch>

pkgname=godsvg-bin
_pkgbase=godsvg
_pkgname=GodSVG

_pkgver=1.0-alpha7
pkgver=${_pkgver//-/_}
pkgrel=2

pkgdesc='An editor for Scalable Vector Graphics (SVG) files. Built with Godot'
arch=('x86_64')

url='https://godsvg.com'
_url='https://github.com/MewPurPur/GodSVG'

license=('MIT')

depends=(
    glibc
    libglvnd
)
provides=(
    godsvg
)
conflicts=(
    godsvg
    godsvg-git
)

source=(
    "GodSVG-${_pkgver}.zip::${_url}/releases/download/v${_pkgver}/GodSVG.Linux.zip"
    "LICENSE::${_url}/raw/main/LICENSE"
    "godsvg.png::${_url}/raw/refs/heads/main/assets/logos/icon.png"
    "godsvg.svg::${_url}/raw/refs/heads/main/assets/logos/icon.svg"
    "godsvg.desktop::${_url}/raw/main/assets/GodSVG.desktop"
)
sha256sums=('af67bfa3ecaaa93ee9f1c1fa2f7d5dd3d868a6b71f9fd0ea3606c9ec13db2874'
            'a2e1a9795671794be3a25bd921a16f0fa9819ede1ead54a13da6edb34bfc0ee1'
            'c809390a25c9a922a1f122d48492dac8ed32c288df827c5605e86358d84cd1c1'
            '856be8b9a058cb35e1a75d50408d21498b127d68d47836787336cad740593f18'
            '9352b05a21eb2ee440236610341591bffec46a14c92263ad0a229965f696c71a')

options=(
    !strip
    !debug
)

package() {
    install -Dm755 "GodSVG.${CARCH}" "${pkgdir}/usr/bin/godsvg"
    install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
    install -Dm644 "godsvg.desktop" -t "${pkgdir}/usr/share/applications/"
    install -Dm644 "godsvg.png" -t "${pkgdir}/usr/share/pixmaps/"
    install -Dm644 "godsvg.svg" -t "${pkgdir}/usr/share/pixmaps/"
}