summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaizhao Zhang2022-01-02 05:02:25 +0000
committerKaizhao Zhang2022-01-02 05:02:25 +0000
commitd6438149d380ce5aec5b480916e7a6deb917d3dc (patch)
treefb787baf7c712abdf8379d4a31cbafed7c5c79eb
parent23de2356217ad326485ba404aad2eba75228201b (diff)
downloadaur-d6438149d380ce5aec5b480916e7a6deb917d3dc.tar.gz
Updated to latest commit and switched to zigmod
As the author of Zterm mentioned: "Gyro build is out of date and currently broken"
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b5fbb8ae748..0b23ab294c9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = zterm-git
pkgdesc = A simple terminal emulator using Vte and Gtk+ writting using the Zig programming language
- pkgver = r55.f5dc34d
+ pkgver = r68.adad382
pkgrel = 1
url = https://gitlab.com/jeang3nie/zterm
arch = x86_64
+ license = MIT
makedepends = git
- makedepends = gyro
makedepends = zig
+ makedepends = zigmod
depends = gtk3
depends = libvte-2.91.so
provides = zterm
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"
}