diff options
author | root <root@rshg054.dnsready.net> | 2012-01-10 23:15:00 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-10 23:15:00 +0000 |
commit | b8012183bbaae70ce4a714c618a967e85df9f521 (patch) | |
tree | 1df6f612c4f75faa9f54467e0a856bcdde0b6a1a /community/bti | |
parent | fdcaf644692e151ddc596b148465ce4a77e6b670 (diff) |
Tue Jan 10 23:14:59 UTC 2012
Diffstat (limited to 'community/bti')
-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 ae63a4c2b..63b104f0c 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') 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 } |