summaryrefslogtreecommitdiff
path: root/community/kio-mtp/PKGBUILD
blob: 955affe07b24510237fb45abeae92f7ff5bb64e4 (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
# $Id: PKGBUILD 84594 2013-02-20 08:07:10Z eric $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Antonio Rojas < nqn1976 @ gmail.com >

pkgname=kio-mtp
pkgver=0.70
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')
source=("ftp://ftp.archlinux.org/other/community/kio-mtp/${pkgname}-${pkgver}.tar.xz")
md5sums=('1b4670e938acedcf565ef23cea66890e')

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

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