diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4de8b1227c3d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" +} |