summaryrefslogtreecommitdiff
path: root/community/pidgin-kwallet/PKGBUILD
blob: a1c79ea3b444e792bf0d97b2ddae50510129449a (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
# $Id: PKGBUILD 99955 2013-10-31 02:40:34Z allan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Mateusz Slazynski <ceceron@gmail.com>

pkgname=pidgin-kwallet
pkgver=1.1.0
pkgrel=2
pkgdesc="KWallet plugin for Pidgin"
arch=('i686' 'x86_64' 'mips64el')
url="http://kde-apps.org/content/show.php/Pidgin+KWallet+Plugin?content=127136"
license=('GPL')
depends=('pidgin' 'kdelibs')
makedepends=('cmake')
source=("http://kde-apps.org/CONTENT/content-files/127136-PidginKWallet-$pkgver.tar.bz2")
md5sums=('c8fde518d8058de8302124791d0d15c6')

build() {
  cd "$srcdir/PidginKWallet-$pkgver"

  mkdir -p build
  cd build

  cmake ..
  make
}

package() {
  #sed -i 's|GemRBPath=.*|GemRBPath=/usr/share/gemrb/|' "$pkgdir/etc/GemRB.cfg.sample
  install -Dm644 "$srcdir/PidginKWallet-$pkgver/build/plugin/libkwallet.so" "$pkgdir/usr/lib/pidgin/libkwallet.so"
}