summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoop Kiefte2018-04-22 17:28:12 +0200
committerJoop Kiefte2018-04-22 17:28:12 +0200
commit5bfb66c669940478dc71db09f715f0d1b59d6865 (patch)
tree04a0076eaa8c8ad315f1ee3d23719ff0811eb8d3
downloadaur-5bfb66c669940478dc71db09f715f0d1b59d6865.tar.gz
Version v0.1
-rw-r--r--.SRCINFO16
-rwxr-xr-xPKGBUILD28
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9d081659fca
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = e
+ pkgdesc = A modern line editor with JavaScript capabilities
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://github.com/LaPingvino/e
+ arch = x86_64
+ arch = i686
+ license = MIT
+ makedepends = go
+ options = !strip
+ options = !emptydirs
+ source = https://github.com/LaPingvino/e/archive/v0.1.zip
+ sha256sums = 048e94efc17c2f4ae5d32fb0ba21b0d2e04f5034bc43201fc6d4f1efb478fd89
+
+pkgname = e
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..38f6bac82b7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Joop Kiefte <ikojba@gmail.com>
+
+pkgname=e
+pkgver=0.1
+pkgrel=1
+pkgdesc="A modern line editor with JavaScript capabilities"
+arch=('x86_64' 'i686')
+url="https://github.com/LaPingvino/$pkgname"
+license=('MIT')
+makedepends=('go')
+options=('!strip' '!emptydirs')
+source=("https://github.com/LaPingvino/$pkgname/archive/v$pkgver.zip")
+sha256sums=('048e94efc17c2f4ae5d32fb0ba21b0d2e04f5034bc43201fc6d4f1efb478fd89')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ go build
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ install -Dm755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: