From 4cf1c390147748d4ac2122a762fc072f5637a3c5 Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Mon, 26 Apr 2010 16:33:26 -0400 Subject: Thanks to Dannny for uploading a PKGBUILD for archlinux --- PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..0155310 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Calvin Morrison +# Contributor: Dannny + +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 +} -- cgit v1.2.3