summaryrefslogtreecommitdiff
path: root/nonprism/bti-nonprism/PKGBUILD
blob: 9c6414f40d165470c3682f54842a4094129331de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id$
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: uvok <uvok at online dot de>
# Contributor: Urist <9362773 at gmail.com>

_pkgname=bti
pkgname=bti-nonprism
pkgver=033
pkgrel=1
pkgdesc='Console client for status.net, without Twitter support'
arch=('i686' 'x86_64' 'mips64el')
url='http://gregkh.github.com/bti/'
license=('GPL')
depends=('pcre' 'libxml2' 'curl' 'liboauth' 'json-c')
source=(http://www.kernel.org/pub/software/web/$_pkgname/$_pkgname-$pkgver.tar.xz
        nonprism.patch)
sha256sums=('a3d9d8a86a718a4820387c75ac2af24fecfe754ee562163d700acb7cf795d753'
            '184f2a134d44ae4c901ffdc824f833b477148f146e23f5d3680496658c9ca393')

prepare() {
  cd ${srcdir}/$_pkgname-$pkgver
  patch -Np1 -i ${srcdir}/nonprism.patch
}

build() {
  cd ${srcdir}/$_pkgname-$pkgver
  ./configure --prefix=/usr

  make
}

package() {
  cd ${srcdir}/$_pkgname-$pkgver
  
  make DESTDIR=${pkgdir} install
}