summaryrefslogtreecommitdiff
path: root/community/kio-mtp/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-02-18 10:00:02 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-02-18 10:00:02 +0100
commit5b55de83000374d4ef867e32bc248e37a192bb00 (patch)
treed9c44a35082b26c62e4be4f78efd032088ab32ec /community/kio-mtp/PKGBUILD
parente07d778c19291820ea2c9612cfa83489d090748b (diff)
parent29883fd322e5c6464bf44e9eaa31b17790461bd0 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: extra/shared-mime-info/PKGBUILD
Diffstat (limited to 'community/kio-mtp/PKGBUILD')
-rw-r--r--community/kio-mtp/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/kio-mtp/PKGBUILD b/community/kio-mtp/PKGBUILD
new file mode 100644
index 000000000..ebc1beec7
--- /dev/null
+++ b/community/kio-mtp/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 84393 2013-02-17 21:44:19Z andrea $
+# 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/${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
+}