summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0fb242122581d37e5d613d783254fcc1429ce2ad (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
# Maintainer: Bartosz KomosiƄski <contact@montidaproot.xyz>
# Contributor: YuLong Yao <feilongphone@gmail.com>

pkgname=devpod-bin
pkgver=0.6.9
pkgrel=1
pkgdesc="Codespaces but open-source, client-only, and unopinionated - unofficial package"
arch=('x86_64')
url="https://github.com/loft-sh/devpod"
license=('MPL-2.0')
provides=('devpod' 'devpod-cli')
depends=(
    'gdk-pixbuf2'
    'webkit2gtk-4.1'
    'cairo'
    'glib2'
    'gtk3'
    'pango'
    'hicolor-icon-theme'
    'gcc-libs'
    'libsoup3'
    'glibc'
    'libayatana-appindicator'
)
conflicts=('devpod')
options=('!strip')
source=(
    "${pkgname}-${pkgver}.tar.gz::https://github.com/loft-sh/devpod/releases/download/v${pkgver}/DevPod_linux_x86_64.tar.gz"
)
sha256sums=('ef73f8e60d81502461e6751d6ecf2963f5bd353f5458cd8fc226b455fcc8a633')

package() {
    tar -xvf ${pkgname}-${pkgver}.tar.gz

    install -Dm755 "usr/bin/DevPod" "${pkgdir}/usr/bin/DevPod"
    install -Dm755 "usr/bin/devpod-cli" "${pkgdir}/usr/bin/devpod-cli"
    install -Dm755 "usr/share/applications/DevPod.desktop" "${pkgdir}/usr/share/applications/DevPod.desktop"
    install -Dm644 "usr/share/icons/hicolor/32x32/apps/DevPod.png" "${pkgdir}/usr/share/icons/hicolor/32x32/apps/DevPod.png"
    install -Dm644 "usr/share/icons/hicolor/128x128/apps/DevPod.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/DevPod.png"
    install -Dm644 "usr/share/icons/hicolor/256x256@2/apps/DevPod.png" "${pkgdir}/usr/share/icons/hicolor/256x256@2/apps/DevPod.png"

}