summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 26d2822d7f52c7cb6a5254b150366abf74f32b34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=codespace
pkgver=1.3.0
pkgrel=1
pkgdesc="The code snippet manager you've been waiting for (Requires license key)"
arch=('x86_64')
url="https://codespace.app"
license=("custom:${codespace}")
depends=('gtk3'
         'libxss'
         'nss')
source=("${pkgname}-${pkgver}.tar.gz::https://codespace.app/download/latest"
        'LICENSE')
sha256sums=('5154d569a88f81f3243ebafd994a9ea403df30be8a18e1eb23a303fef150b3d0'
            '5664f8fcdf3e2b3c3f8a70d573aea65bed01c815a5971ff24e97e9cc3717ec6d')

package() {
  tar xvf "${srcdir}/data.tar.xz" -C "${pkgdir}"
  install -d "${pkgdir}/usr/bin"
  install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
  ln -s /opt/Codespace/codespace "${pkgdir}/usr/bin"
}