summaryrefslogtreecommitdiff
path: root/community/kadu/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-14 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2011-11-14 23:14:50 +0000
commit3d151dfc8e08b65c2c1d4b5e8081562d56ee7d41 (patch)
tree6471e323329fc287485206e36e43a9036ccf13d2 /community/kadu/PKGBUILD
parent600d5378dadf22b8517d52ac19500594bce4b66d (diff)
Mon Nov 14 23:14:50 UTC 2011
Diffstat (limited to 'community/kadu/PKGBUILD')
-rw-r--r--community/kadu/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/kadu/PKGBUILD b/community/kadu/PKGBUILD
index 0c116b3cd..dabc9abfa 100644
--- a/community/kadu/PKGBUILD
+++ b/community/kadu/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 57067 2011-10-20 15:00:52Z bpiotrowski $
+# $Id: PKGBUILD 58524 2011-11-13 15:44:01Z andrea $
# Maintainer: Mateusz Herych
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
@@ -15,13 +15,16 @@ source=(http://www.kadu.net/download/stable/$pkgname-$pkgver.tar.bz2)
md5sums=('6211a9a9e02d645268cbf055892601a0')
build() {
- cd $srcdir/kadu-$pkgver
- cmake . -DCMAKE_INSTALL_PREFIX=/usr
+ cd $srcdir
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
- cd $srcdir/kadu-$pkgver
+ cd $srcdir/build
make DESTDIR=$pkgdir install
rm -rf $pkgdir/usr/{lib,include}/{libgadu*,pkgconfig}
rm -rf $pkgdir/usr/share/kadu/{HISTORY,README}