summaryrefslogtreecommitdiff
path: root/nonprism/bti/PKGBUILD
blob: 24a45223bf2afc839e6e48b15be82437a3156f7f (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
38
# $Id: PKGBUILD 105298 2014-02-04 18:30:40Z jlichtblau $
# Maintainer (Arch): Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor (Arch): Kaiting Chen <kaitocracy@gmail.com>
# Contributor (Arch): uvok <uvok at online dot de>
# Contributor (Arch): Urist <9362773 at gmail.com>

pkgname=bti
pkgver=034
pkgrel=1.nonprism1
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')
conflicts=(${pkgname}-nonprism)
replaces=(${pkgname}-nonprism)
source=(http://www.kernel.org/pub/software/web/$pkgname/$pkgname-$pkgver.tar.xz
        nonprism.patch)
sha256sums=('8b4a1a11f529f83956468acadaea9d11db4f03e82afe07fecb84b2d00e9eae83'
            '86eab6c949e3c19d3a4088fac78fba4709845e9d5871b12c17a944127347498c')

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
}