summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSolomon Choina2018-05-29 14:12:15 -0400
committerSolomon Choina2018-05-29 14:12:15 -0400
commitabca014dbc85f91e9211c00ee8b78be3dd353ff8 (patch)
treede76f28eac76d8beb83a012865e294b30ff9fdbc /PKGBUILD
downloadaur-bterm-bin.tar.gz
initial version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f8a5433bdc9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Solomon Choina <shlomochoina@gmail.com>
+pkgname=bterm-bin
+_pkgname=bterm
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="cross-platform terminal emulator"
+arch=('x86_64')
+url="https://github.com/bleenco/bterm"
+license=('MIT')
+provides=(bterm)
+conflicts=('bterm')
+depends=('nodejs')
+makedepends=('unp')
+source=("$url/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb")
+sha256sums=('cca4ca9220e9db7205b0e6e7b92fbfb7b1e59d7f01654aabe2f94f5d29cd61ff')
+
+package() {
+
+ tar -xf data.tar.xz
+ cp -r usr $pkgdir
+ cp -r opt $pkgdir
+
+ install -Dm755 /dev/stdin "$pkgdir"/usr/bin/$_pkgname <<END
+ #!/usr/bin/bash
+ /opt/bterm/bterm
+END
+
+}