diff options
author | mutantturkey <crazycal00@gmail.com> | 2010-04-26 16:33:26 -0400 |
---|---|---|
committer | mutantturkey <crazycal00@gmail.com> | 2010-04-26 16:33:26 -0400 |
commit | 4cf1c390147748d4ac2122a762fc072f5637a3c5 (patch) | |
tree | 7769efd9e0733b6785abf6717fc1731833ac4e28 | |
parent | 6ac1076ea62c94bb47f600830385196bebdaff3f (diff) |
Thanks to Dannny for uploading a PKGBUILD for archlinux
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..0155310 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Calvin Morrison <mutantturkey@gmail.com> +# Contributor: Dannny <danny.a95@gmail.com> + +pkgname=mt-git +pkgver=20100426 +pkgrel=1 +pkgdesc="mt - multi tabbed, a minimal GTK and VTE based terminal aiming to b e clean and concise" +arch=('any') +url="http://github.com/mutantturkey/mt/" +license=('GPL' 'MIT/X') +depends=('gtk2' 'vte') +makedepends=('git') +provides=('mt') +conflicts=('mt') + +_gitroot=git://github.com/mutantturkey/mt.git +_gitname=mt + +build() { + cd $srcdir + + msg "connecting to github's GIT server...." + + if [ -d $startdir/src/$_gitname ] ; then + cd $_gitname && git-pull origin + msg "The local files are updated." + else + git clone $_gitroot + fi + + msg "GIT checkout done" + + cd "$srcdir/$_gitname" + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} |