desktop/libmygpo-qt5/PKGBUILD

36 lines
785 B
Bash
Raw Normal View History

2015-08-19 10:33:44 +08:00
# Maintainer: Neo Kolokotronis <tetris4@gmail.com
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=libmygpo-qt5
_pkgname=libmygpo-qt
2018-10-20 23:01:32 +08:00
pkgver=1.1.0
pkgrel=1
2015-08-19 10:33:44 +08:00
pkgdesc="A C++/Qt client library for gpodder.net"
arch=('x86_64')
url="http://wiki.gpodder.org/wiki/Libmygpo-qt"
license=('LGPL2.1')
depends=('qt5-base')
makedepends=('cmake')
source=("http://stefan.derkits.at/files/${_pkgname}/${_pkgname}.${pkgver}.tar.gz")
2018-10-20 23:01:32 +08:00
md5sums=('02c67ce51f025fcc5f71fbb4d6d029d6')
2015-08-19 10:33:44 +08:00
prepare() {
2015-08-19 10:33:44 +08:00
cd "${srcdir}"
[[ -e build ]] && rm -rf build
2015-08-19 10:33:44 +08:00
mkdir build
}
build() {
2015-08-19 10:33:44 +08:00
cd build
cmake "../${_pkgname}.${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_WITH_QT4=OFF
make
}
package(){
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}