summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 22:44:39 +0200
committerAntonio Rojas2015-06-08 22:44:39 +0200
commitc05f4a21bb3858f4334eea1d6c89f73951b1abf7 (patch)
treebda9b9e32dca7bf9a93fa16f0960fb7e02c9d3d7
downloadaur-c05f4a21bb3858f4334eea1d6c89f73951b1abf7.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..983a00a4f75
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = khtml-git
+ pkgdesc = KHtml
+ pkgver = r157.cd43a79
+ pkgrel = 1
+ url = https://projects.kde.org/projects/frameworks/khtml
+ arch = i686
+ arch = x86_64
+ groups = kf5
+ license = LGPL
+ makedepends = extra-cmake-modules-git
+ makedepends = git
+ depends = kparts-git
+ depends = kjs-git
+ depends = giflib
+ provides = khtml
+ conflicts = khtml
+ source = git://anongit.kde.org/khtml.git
+ md5sums = SKIP
+
+pkgname = khtml-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..426f8ff9973
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=khtml-git
+pkgver=r157.cd43a79
+pkgrel=1
+pkgdesc='KHtml'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/khtml'
+license=('LGPL')
+depends=('kparts-git' 'kjs-git' 'giflib')
+makedepends=('extra-cmake-modules-git' 'git')
+groups=('kf5')
+conflicts=(khtml)
+provides=(khtml)
+source=('git://anongit.kde.org/khtml.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd khtml
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../khtml \
+ -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
+}