summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Alvarez2016-07-15 17:59:45 +0200
committerGustavo Alvarez2016-07-15 17:59:45 +0200
commit0082a4c8cd9a1a8af4a4d3bb73de6b124faea8fb (patch)
tree2836bcc3024593d83da4314ab74260b264769af0
downloadaur-0082a4c8cd9a1a8af4a4d3bb73de6b124faea8fb.tar.gz
Initial commit
-rw-r--r--.SRCINFO27
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD53
3 files changed, 84 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e13383e6669
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+# Generated by mksrcinfo v8
+# Fri Jul 15 15:59:44 UTC 2016
+pkgbase = kolourpaint-git
+ pkgdesc = Paint Program. (GIT version)
+ pkgver = r2058.2d4c4a1
+ pkgrel = 1
+ url = http://kde.org/applications/graphics/kolourpaint
+ arch = x86_64
+ license = GPL
+ license = LGPL
+ license = FDL
+ makedepends = extra-cmake-modules
+ makedepends = kdoctools
+ makedepends = git
+ makedepends = python
+ makedepends = kdesignerplugin
+ depends = kdelibs4support
+ depends = qimageblitz-svn
+ depends = libksane
+ depends = hicolor-icon-theme
+ provides = kolourpaint
+ conflicts = kolourpaint
+ source = git://anongit.kde.org/kolourpaint
+ sha1sums = SKIP
+
+pkgname = kolourpaint-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..05c6d4d4c97
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!.SRCINFO
+!PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0f903d67724
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
+
+pkgname=kolourpaint-git
+pkgver=r2058.2d4c4a1
+pkgrel=1
+pkgdesc="Paint Program. (GIT version)"
+url='http://kde.org/applications/graphics/kolourpaint'
+arch=('x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs4support'
+ 'qimageblitz-svn'
+ 'libksane'
+ 'hicolor-icon-theme'
+ )
+makedepends=('extra-cmake-modules'
+ 'kdoctools'
+ 'git'
+ 'python'
+ 'kdesignerplugin'
+ )
+conflicts=('kdegraphics-kolourpaint'
+ 'kolourpaint'
+ )
+provides=('kolourpaint')
+conflicts=('kolourpaint')
+source=('git://anongit.kde.org/kolourpaint')
+sha1sums=('SKIP')
+
+pkgver() {
+ cd kolourpaint
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+
+ #sed 's|<KSane>|<KSaneWidget>|g' -i kolourpaint/scan/sanedialog.h
+}
+
+build() {
+ cd build
+ cmake ../kolourpaint \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+}