aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD36
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
+}