summaryrefslogtreecommitdiff
path: root/community/qmpdclient/PKGBUILD
blob: c1726cd86ed4164de49aed617bfbe86e0d93d095 (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
30
31
32
33
34
# $Id: PKGBUILD 40012 2011-02-19 13:47:31Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Vinay S Shastry <vinayshastry@gmail.com>

pkgname=qmpdclient
pkgver=1.2.1
pkgrel=1
pkgdesc="A Qt4 client for MPD"
arch=('i686' 'x86_64' 'mips64el')
url="http://bitcheese.net/wiki/QMPDClient"
license=('GPL')
depends=('qt' 'openssl' 'hicolor-icon-theme')
makedepends=('cmake')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://dump.bitcheese.net/files/$pkgname-$pkgver.tar.bz2)
sha256sums=('9d57ffbf2985c1dbc9e8856e9c5edf5171e85152d8cf58ad692e85233a9b0773')

build() {
  cd ${srcdir}

  mkdir build
  cd build

  cmake ../${pkgname} -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd ${srcdir}/build

  make DESTDIR=${pkgdir} install
}