summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a52a1dbbbd6fc9f22a1716338379609e97b5925 (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
# Contributor: Caleb Maclennan <caleb@alerque.com>
# Contributor: Asuka Minato

pkgname=typstudio-bin
pkgver=0.1.0dev.32
_pkgver=${pkgver/dev/-dev}
pkgrel=1
pkgdesc='desktop application for typst'
url="https://github.com/Cubxity/${pkgname%-bin}"
arch=(x86_64)
license=(GPL3)
depends=(
	glibc
	hicolor-icon-theme
	gtk3
	glib2
	pango
	gdk-pixbuf2
	cairo
	gcc-libs
	webkit2gtk
	libsoup)
provides=("typstudio=$pkgver")
conflicts=(typstudio)
source=("$pkgname-$pkgver.deb::https://github.com/Cubxity/typstudio/releases/download/v${_pkgver}/typstudio_0.1.0_amd64.deb")
sha256sums=('d302d2e5c9b1644ca9d26b3fb3cb1d9e0da1264a2bb54eec746b5c87eb58f4a6')

package() {
	tar -xvpf data.tar.* -C $pkgdir
	chown -R root:root $pkgdir/usr
}