diff options
Diffstat (limited to 'community/bti/PKGBUILD')
-rw-r--r-- | community/bti/PKGBUILD | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/community/bti/PKGBUILD b/community/bti/PKGBUILD index a89339b72..c556df8d7 100644 --- a/community/bti/PKGBUILD +++ b/community/bti/PKGBUILD @@ -1,22 +1,34 @@ -# $Id$ # Maintainer: Kaiting Chen <kaitocracy@gmail.com> # Contributor: uvok <uvok at online dot de> # 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' 'mips64el') 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 } |