mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 11:57:17 +08:00
32 lines
935 B
Bash
32 lines
935 B
Bash
pkgname=yarock
|
|
_pkgname=Yarock
|
|
pkgver=1.1.2
|
|
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')
|
|
makedepends=('cmake')
|
|
categories=('multimedia')
|
|
source=("http://launchpad.net/$pkgname/1.x/$pkgver/+download/${_pkgname}_${pkgver}_source.tar.gz")
|
|
sha512sums=('66a08b203d408ab9c71b334722bae45c0bc6123110e2e26eac9f2c64410b75c4a120f674f9361a77425fb35b811b266d0f350352758b316ca495ac1fe888967b')
|
|
|
|
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
|
|
}
|