summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2988c5eb5805a1dcaddd995676f37a71258ea17b (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
# Maintainer: arkhan <arkhan@disroot.org>
pkgname=eless
pkgver=0.7
pkgrel=1
pkgdesc="A Better 'less' - A bash script that loads emacs with minimal view-mode config"
arch=('any')
license=('MIT')
depends=("bash" "emacs")
url='https://eless.scripter.co'
source=("https://github.com/kaushalmodi/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('2c9405bc77dda2abcf7429551e4d6a9e')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make eless
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -d "$pkgdir/usr/bin"
  install -d "$pkgdir/usr/share/doc/eless"
  install -d "$pkgdir/usr/share/licences/eless"
  cp -rf eless "$pkgdir/usr/bin/"
  cp -rf docs "$pkgdir/usr/share/doc/eless"
  cp -rf LICENSE.md "$pkgdir/usr/share/licences/eless/"
}