summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4de8b1227c3d387738c454104140118bc1b56327 (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: Andy Weidenbaum <archbaum@gmail.com>
# Maintainer: Kevin MacMartin <prurigro at gmail dot com>

pkgname=commacd
pkgver=0.2.1
pkgrel=1
pkgdesc="A faster way to move around Bash"
arch=('any')
depends=('bash')
url="https://github.com/shyiko/commacd"
license=('MIT')
source=($pkgname-$pkgver.tar.gz::https://codeload.github.com/shyiko/$pkgname/tar.gz/v$pkgver
        commacd.1)
sha256sums=('0eca4bb6b9b128c2322b0573bc508bc204177415f517ca24f9744118d5c0b792'
            'e1cf248eb023fb608432d97e92421d8a15cf3d8f2144b5b9a29c4e80653e1382')
install=commacd.install

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

  msg 'Installing man page...'
  install -Dm 644 "$srcdir/commacd.1" "$pkgdir/usr/share/man/man1/commacd.1"

  msg 'Installing...'
  install -Dm 755 commacd.bash "$pkgdir/usr/share/$pkgname/commacd.bash"
}