summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 548e432a83c..260fdce2722 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,13 @@
_pkgname=zterm
pkgname="${_pkgname}-git"
-pkgver=r55.f5dc34d
+pkgver=r68.adad382
pkgrel=1
pkgdesc="A simple terminal emulator using Vte and Gtk+ writting using the Zig programming language"
url="https://gitlab.com/jeang3nie/zterm"
+license=('MIT')
depends=('gtk3' 'libvte-2.91.so')
-makedepends=('git' 'gyro' 'zig')
+makedepends=('git' 'zig' 'zigmod')
arch=('x86_64')
provides=('zterm')
conflicts=('zterm')
@@ -27,13 +28,15 @@ prepare() {
build() {
cd "${srcdir}/${_pkgname}"
- gyro build -Drelease-safe=true
+ zigmod fetch
+ zig build -Drelease-safe=true
}
package() {
cd "${srcdir}/${_pkgname}"
install -D -m755 zig-out/bin/zterm "${pkgdir}/usr/bin/zterm"
install -D -m644 README.md "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
+ install -D -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${_pkgname}/README.md"
install -D -m644 data/zterm.desktop "${pkgdir}/usr/share/applications/zterm.desktop"
- install -D -m644 data/zterm.svg "${pkgdir}/usr/share/pixmaps/zterm.svg"
+ install -D -m644 data/zterm.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/zterm.svg"
}