mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
34 lines
875 B
Bash
34 lines
875 B
Bash
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
|
|
|
|
pkgname=yarock
|
|
_pkgname=Yarock
|
|
pkgver=1.0.0
|
|
pkgrel=1
|
|
pkgdesc="A Qt4 Modern Music Player with collection browser based on cover art."
|
|
arch=('x86_64')
|
|
url="http://qt-apps.org/content/show.php?content=129372"
|
|
screenshot="http://qt-apps.org/CONTENT/content-pre2/129372-2.png"
|
|
license=('GPL3')
|
|
depends=('qt' 'taglib' 'phonon' 'boost' 'qjson')
|
|
categories=('multimedia')
|
|
source=("http://launchpad.net/$pkgname/1.x/$pkgver/+download/${_pkgname}_${pkgver}_source.tar.gz")
|
|
md5sums=('a80e53a36502ba2f6c10bc6a3e04a473')
|
|
|
|
build() {
|
|
cd $srcdir/${_pkgname}_${pkgver}_source
|
|
|
|
[[ -d build ]] && rm -r build
|
|
mkdir build && cd build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/${_pkgname}_${pkgver}_source/build
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|