summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2a8f0a803bcb9bf4b1d049c4107bfaa28dd21e1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Joop Kiefte <ikojba@gmail.com>

pkgname=e
pkgver=0.1.1
pkgrel=2
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=('79535fbc74f2a4377da46edba2ea2dd81f671478e3c1136f2abbf1a6450bc176')

build() {
  cd "$pkgname-$pkgver"

  go build
}

package() {
  cd "$pkgname-$pkgver"

  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et: