diff options
author | Leif Warner | 2015-10-30 09:14:38 -0700 |
---|---|---|
committer | Leif Warner | 2015-10-30 09:14:38 -0700 |
commit | 0e96accf53389f8b9744cb87f8c4639b22ea2012 (patch) | |
tree | 401a1ebe1e44de4172fdbc48714ed5574ff074d8 /PKGBUILD | |
download | aur-git-sh-git.tar.gz |
Initial import
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..70ba68bf8526 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor: Daenyth <Daenyth+Arch AT gmail DOT com> +pkgname=git-sh-git +pkgver=20151030.467c388 +pkgrel=1 +pkgdesc="A customized bash shell suitable for git work." +arch=(any) +url="http://github.com/rtomayko/git-sh/tree/master" +license=('GPL') +depends=(git) +source=("$pkgname::git://github.com/rtomayko/git-sh.git") +md5sums=('SKIP') + +pkgver() { + cd "$pkgname" + date "+%Y%m%d.$(git describe --always | sed 's/^v//;s/-/./g')" +} + +build() { + cd "$pkgname" + make +} + +package() { + cd "$pkgname" + make DESTDIR=$pkgdir PREFIX='$(DESTDIR)/usr/' install +} |