summaryrefslogtreecommitdiff
path: root/community/kio-mtp/PKGBUILD
blob: 06d9e2f844c403714aa7fd502c5d66c79f5143d3 (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
# $Id: PKGBUILD 113864 2014-07-01 07:20:40Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Antonio Rojas < nqn1976 @ gmail.com >

pkgname=kio-mtp
_commit=e891a0b78cbffada5f63eb243d42ae3952cc7719
pkgver=0.75.20140630
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Provides KIO Access to MTP devices using the mtp:/// protocol"
url='https://projects.kde.org/projects/playground/base/kio-mtp'
license=('GPL')
depends=('kdebase-runtime' 'libmtp')
makedepends=('cmake' 'automoc4' 'git')
source=("git://anongit.kde.org/kio-mtp#commit=$_commit")
md5sums=('SKIP')

build() {
  mkdir build
  cd build

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

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