From b8012183bbaae70ce4a714c618a967e85df9f521 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 Jan 2012 23:15:00 +0000 Subject: Tue Jan 10 23:14:59 UTC 2012 --- community/bti/PKGBUILD | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) (limited to 'community/bti/PKGBUILD') diff --git a/community/bti/PKGBUILD b/community/bti/PKGBUILD index ae63a4c2b..63b104f0c 100644 --- a/community/bti/PKGBUILD +++ b/community/bti/PKGBUILD @@ -1,22 +1,34 @@ -# $Id$ # Maintainer: Kaiting Chen # Contributor: uvok # Contributor: Urist <9362773 at gmail.com> pkgname=bti -pkgver=031 +pkgver=032 pkgrel=1 pkgdesc='Console client for Twitter and identi.ca' arch=('i686' 'x86_64') url='http://gregkh.github.com/bti/' license=('GPL') depends=('pcre' 'libxml2' 'curl' 'liboauth') - -md5sums=('9f79fcd398fe1df5bdffeb28b42f3433') -source=("http://www.kernel.org/pub/software/web/bti/$pkgname-$pkgver.tar.gz") +makedepends=('git') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr - make; make DESTDIR=$pkgdir install + local _gitroot='git://github.com/gregkh/bti.git' + git clone ${_gitroot} + + cd bti + git checkout ${pkgver} + + ./autogen.sh + + ./configure \ + --prefix=/usr + + make +} + +package() { + cd bti + + make DESTDIR=${pkgdir} install } -- cgit v1.2.3-54-g00ecf