summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSevenseven2015-06-09 00:59:40 +0300
committerSevenseven2015-06-09 00:59:40 +0300
commit6ab82b4af06692ead9bb03e906b01ab133369c3e (patch)
treee47e877b239daf5567ad1d01df39f63d4779067c
downloadaur-6ab82b4af06692ead9bb03e906b01ab133369c3e.tar.gz
Initial import
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD41
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5576803af9f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = libkexiv2-git
+ pkgdesc = A library to manipulate pictures metadata
+ pkgver = r641.48a2e4c
+ 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 = exiv2
+ provides = libkexiv2
+ conflicts = libkexiv2
+ source = libkexiv2::git+git://anongit.kde.org/libkexiv2
+ md5sums = SKIP
+
+pkgname = libkexiv2-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..07bfed76e64
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+pkgname=libkexiv2-git
+pkgver=r641.48a2e4c
+pkgrel=1
+pkgdesc='A library to manipulate pictures metadata'
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs' 'exiv2')
+#depends=('ki18n' 'kcoreaddons' 'ktextwidgets')
+makedepends=('git' 'automoc4' 'cmake')
+conflicts=('libkexiv2')
+provides=('libkexiv2')
+groups=('digikam-git')
+source=('libkexiv2::git+git://anongit.kde.org/libkexiv2')
+md5sums=('SKIP')
+#source=('libkexiv2::git+git://anongit.kde.org/libkexiv2#branch=frameworks')
+
+pkgver() {
+ cd ${srcdir}/libkexiv2
+ 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}/libkexiv2 -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/build
+ make DESTDIR=${pkgdir} install
+}