mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
34 lines
764 B
Bash
34 lines
764 B
Bash
# Maintainer: Neo Kolokotronis <tetris4@gmail.com
|
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
pkgname=libmygpo-qt5
|
|
_pkgname=libmygpo-qt
|
|
pkgver=1.0.8
|
|
pkgrel=2
|
|
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")
|
|
md5sums=('cb67c86919171d6d2356dfb59c3b9571')
|
|
conflicts=('libmygpo-qt')
|
|
|
|
build() {
|
|
cd "${srcdir}"
|
|
mkdir build
|
|
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
|
|
}
|
|
|