summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 36efa8f26cc539259e9444df67dcaded29a8c4ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>

pkgname=kdeplasma-applets-miniplayer
pkgver=2.5
pkgrel=1
pkgdesc="A plasmoid for playing multimedia."
arch=('i686' 'x86_64')
url="http://www.kde-look.org/content/show.php/Mini+Player?content=95501"
license=('GPL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
source=("http://www.kde-look.org/CONTENT/content-files/95501-miniplayer-${pkgver}.tar.bz2")
sha1sums=('f4bdb3ae725214d248b6965ecb8f1cb2bbd2bd00')

prepare() {
  mkdir -p build
}

build() {
  cd build
  cmake "../miniplayer-${pkgver}" \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  make -C build DESTDIR="${pkgdir}" install
}