summaryrefslogtreecommitdiff
path: root/extra/libmygpo-qt/PKGBUILD
blob: 9a8fbea4db984aeae8464ab26b074a113e9fe003 (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 122697 2011-05-06 06:29:29Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=libmygpo-qt
pkgver=1.0.2
pkgrel=1
pkgdesc="A C++/Qt client library for gpodder.net"
arch=('i686' 'x86_64')
url="http://wiki.gpodder.org/wiki/Libmygpo-qt"
license=('LGPL2.1')
depends=('qjson')
makedepends=('cmake')
source=("http://stefan.derkits.at/files/${pkgname}/${pkgname}.${pkgver}.tar.gz")
md5sums=('6f88444c82e9840638ec16e366457dd7')

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
}