PKGBUILD 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Maintainer (arch): Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
  2. # Contributor: Kaiting Chen <kaitocracy@gmail.com>
  3. # Contributor: uvok <uvok at online dot de>
  4. # Contributor: Urist <9362773 at gmail.com>
  5. pkgname=bti
  6. pkgver=034
  7. pkgrel=3
  8. pkgrel+=.nonprism1
  9. pkgdesc='Console client for status.net, without Twitter support'
  10. arch=('x86_64')
  11. arch+=('i686')
  12. url='http://gregkh.github.com/bti/'
  13. license=('GPL')
  14. depends=('pcre' 'libxml2' 'curl' 'liboauth' 'json-c')
  15. source=(https://www.kernel.org/pub/software/web/$pkgname/$pkgname-$pkgver.tar.xz
  16. 0001-Replace-removed-is_error-macro.patch)
  17. source+=(nonprism.patch)
  18. sha512sums=('2b7cd66cff617f7592863a1a8e03754b3dea314c8eeb98bf0993601d4d4db848a74b26941bbd04f57a348bf0d02aefca4e3125f00fed531a67a3f17f36e665ba'
  19. 'e05c6b4c744338a4679e37c25e16656b029bb995cbe0efd71b986383d812c4c7b9e599d4f758dfeef94a378a2a807275ffe80fb28ff9970a5ec4b039201223f6'
  20. '522b76d0e5a01618580d6c187e5e2f1343c879b0be6dc86285f7c47f220e4a86064bb8a30bab3ec6581c2850ff4adcc1ea1a2174efcb5ea68e2454264196f066')
  21. prepare() {
  22. cd "${srcdir}"/$pkgname-$pkgver
  23. patch -Np1 -i $srcdir/0001-Replace-removed-is_error-macro.patch
  24. patch -Np1 -i ${srcdir}/nonprism.patch
  25. }
  26. build() {
  27. cd "${srcdir}"/$pkgname-$pkgver
  28. ./configure --prefix=/usr
  29. make
  30. }
  31. package() {
  32. cd "${srcdir}"/$pkgname-$pkgver
  33. make DESTDIR="${pkgdir}" install
  34. }