summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDach, Antonin (IOT DS EU CZ DF CSY)2020-06-15 20:06:48 +0200
committerDach, Antonin (IOT DS EU CZ DF CSY)2020-06-15 20:06:48 +0200
commit51519fda74abdc287f65bf2be04629d01fbc7649 (patch)
tree712d8e81535a2d4ad49096a380a59d6bca8742ce
downloadaur-51519fda74abdc287f65bf2be04629d01fbc7649.tar.gz
Initial pkgbuild for wayst terminal emulator
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD31
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..011e2857740
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = wayst-git
+ pkgdesc = Simple terminal emulator for Wayland and X11 with OpenGL rendering and minimal dependencies.
+ pkgver = r38.cf2cf2c
+ pkgrel = 1
+ url = https://github.com/91861/wayst
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ depends = mesa
+ depends = freetype2
+ depends = fontconfig
+ depends = libxkbcommon
+ provides = wayst
+ conflicts = wayst
+ source = git+https://github.com/91861/wayst.git
+ md5sums = SKIP
+
+pkgname = wayst-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..911ba5d52a7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: AntonĂ­n Dach <dach@protonmail.com>
+pkgname=wayst-git
+pkgver=r38.cf2cf2c
+pkgrel=1
+pkgdesc='Simple terminal emulator for Wayland and X11 with OpenGL rendering and minimal dependencies.'
+arch=('x86_64')
+url='https://github.com/91861/wayst'
+license=('MIT')
+depends=('mesa' 'freetype2' 'fontconfig' 'libxkbcommon')
+makedepends=('git')
+provides=('wayst')
+conflicts=('wayst')
+install=
+source=('git+https://github.com/91861/wayst.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/wayst"
+# printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/wayst"
+ make
+}
+
+package() {
+ cd "$srcdir/wayst"
+ make INSTALL_DIR="$pkgdir/" install
+}