summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 473b3f1f80255840229f733823ebf5894a8f0fac (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.3.0
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=('5764c52cbe1ba9101bd98389a16743246f8b3697d316905c4e93237536d9bed0'
            'e1cf248eb023fb608432d97e92421d8a15cf3d8f2144b5b9a29c4e80653e1382')
install=commacd.install

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

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

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