summaryrefslogtreecommitdiff
path: root/extra/cagibi/PKGBUILD
blob: 2f81cc2283b546eb572425d30b8af6588ce8272a (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
# $Id: PKGBUILD 123124 2011-05-08 20:39:38Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=cagibi
pkgver=0.2.0
pkgrel=1
pkgdesc='A cache/proxy daemon for SSDP (the discovery part of UPnP)'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('LGPL')
depends=('qt')
makedepends=('cmake' 'automoc4')
source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('af66d89337ef80e8a868d3bb9dd92328')

build() {
  cd ${srcdir}
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd ${srcdir}/build
  make DESTDIR=${pkgdir} install
}