updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / psi-otrplugin / PKGBUILD
blob81f50a00f7c92aafcb173dd1b15536a95a4521ef
1 pkgname=psi-otrplugin
2 pkgver=0.5
3 pkgrel=1
4 pkgdesc="Plugin for PSI which allows OTR-encryption"
5 arch=('i686' 'x86_64')
6 url="http://public.tfh-berlin.de/~s30935/"
7 license=('GPL2')
8 depends=('qt' 'libotr=3.2.0' 'psi-otr=0.14')
9 source=("http://public.tfh-berlin.de/~s30935/files/psi-otr-$pkgver.tar.gz")
10 md5sums=('134c1c21e9e1bcb1e2a2e159bf895359')
12 build() {
13   cd "$srcdir/psi-otr-$pkgver"
14   qmake PREFIX=/usr
15   make
18 package() {
19   cd "$srcdir/psi-otr-$pkgver"
20   make INSTALL_ROOT="$pkgdir" install
21   mkdir -p "$pkgdir/usr/share/psi/"
22   mv "$pkgdir/usr/local/share/psi/plugins/" "$pkgdir/usr/share/psi/"
23   rm -r "$pkgdir/usr/local/"