desktop/libmygpo-qt/PKGBUILD
2013-12-11 16:59:55 +00:00

34 lines
749 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Neo Kolokotronis <tetris4@gmail.com
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=libmygpo-qt
pkgver=1.0.7
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=('447e60c8c695b4280a0e20c71abacf49')
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
}