summaryrefslogtreecommitdiff
path: root/extra/libmygpo-qt/PKGBUILD
blob: 74e1a1fb6dec811db457ffbd2e4fb1e09ca9aae8 (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 171967 2012-11-25 14:53:14Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>

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

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

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