summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSevenseven2015-06-09 00:48:40 +0300
committerSevenseven2015-06-09 00:48:40 +0300
commita4ab669bb24ddc36cb651e644d2cf697d0b34db4 (patch)
tree1045f6498df1a5f72c67830f8155a26164eed74b
downloadaur-a4ab669bb24ddc36cb651e644d2cf697d0b34db4.tar.gz
Initial import
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD42
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..86d530ae505
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = libkdcraw-git
+ pkgdesc = A C++ interface used to decode RAW picture
+ pkgver = r937.baf426f
+ pkgrel = 1
+ url = http://www.kde.org
+ arch = i686
+ arch = x86_64
+ groups = digikam-git
+ license = GPL
+ license = LGPL
+ license = FDL
+ makedepends = git
+ makedepends = automoc4
+ makedepends = cmake
+ depends = kdelibs
+ depends = libraw
+ provides = libkdcraw
+ conflicts = libkdcraw
+ source = libkdcraw::git+git://anongit.kde.org/libkdcraw
+ md5sums = SKIP
+
+pkgname = libkdcraw-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6d539eebffb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Contributor: Flamelab <panosfilip@gmail.com>
+pkgname=libkdcraw-git
+pkgver=r937.baf426f
+pkgrel=1
+pkgdesc='A C++ interface used to decode RAW picture'
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs' 'libraw')
+#depends=('libraw' 'kconfig' 'kwidgetsaddons' 'kio')
+makedepends=('git' 'automoc4' 'cmake')
+conflicts=('libkdcraw')
+provides=('libkdcraw')
+groups=('digikam-git')
+source=('libkdcraw::git+git://anongit.kde.org/libkdcraw')
+md5sums=('SKIP')
+#source=('libkdcraw::git+git://anongit.kde.org/libkdcraw#branch=frameworks')
+
+pkgver() {
+ cd ${srcdir}/libkdcraw
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ if [[ -d ${srcdir}/build ]]; then
+ msg "Cleaning the previous build directory..."
+ rm -rf ${srcdir}/build
+ fi
+ mkdir ${srcdir}/build
+}
+
+build() {
+ cd ${srcdir}/build
+ cmake ${srcdir}/libkdcraw -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/build
+ make DESTDIR=${pkgdir} install
+}