summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 22:47:10 +0200
committerAntonio Rojas2015-06-08 22:47:10 +0200
commit7ae5e80500150d51b5546f37c2e27d4b3db2582e (patch)
treed23a2fd26c746967884ac98c57886fc83b578df2
downloadaur-7ae5e80500150d51b5546f37c2e27d4b3db2582e.tar.gz
Initial import
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD41
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4f7fc8625ba
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = kross-git
+ pkgdesc = Kross
+ pkgver = r61.997dd12
+ pkgrel = 1
+ url = https://projects.kde.org/projects/frameworks/kross
+ arch = i686
+ arch = x86_64
+ groups = kf5
+ license = LGPL
+ makedepends = extra-cmake-modules-git
+ makedepends = git
+ makedepends = kdoctools-git
+ makedepends = qt5-tools
+ depends = kparts-git
+ provides = kross
+ conflicts = kross
+ source = git://anongit.kde.org/kross.git
+ md5sums = SKIP
+
+pkgname = kross-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1bd1dc59c92
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kross-git
+pkgver=r61.997dd12
+pkgrel=1
+pkgdesc='Kross'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kross'
+license=('LGPL')
+depends=('kparts-git')
+makedepends=('extra-cmake-modules-git' 'git' 'kdoctools-git' 'qt5-tools')
+groups=('kf5')
+conflicts=(kross)
+provides=(kross)
+source=('git://anongit.kde.org/kross.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd kross
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kross \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}