summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 22:47:58 +0200
committerAntonio Rojas2015-06-08 22:47:58 +0200
commitd61746f00d009929f9b15e550a0bd13c3ebf8b4e (patch)
treedd44c2ac60d4ea4c399561ef7307f87fc9d05116
downloadaur-d61746f00d009929f9b15e550a0bd13c3ebf8b4e.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..9bc0bf55007
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = kwindowsystem-git
+ pkgdesc = KWindowSystem
+ pkgver = r136.487f03a
+ pkgrel = 1
+ url = https://projects.kde.org/projects/frameworks/kwindowsystem
+ arch = i686
+ arch = x86_64
+ groups = kf5
+ license = LGPL
+ makedepends = extra-cmake-modules-git
+ makedepends = git
+ makedepends = qt5-tools
+ depends = qt5-x11extras
+ depends = libxfixes
+ provides = kwindowsystem
+ conflicts = kwindowsystem
+ source = git://anongit.kde.org/kwindowsystem.git
+ md5sums = SKIP
+
+pkgname = kwindowsystem-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1e3615a972c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kwindowsystem-git
+pkgver=r136.487f03a
+pkgrel=1
+pkgdesc='KWindowSystem'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kwindowsystem'
+license=('LGPL')
+depends=('qt5-x11extras' 'libxfixes')
+makedepends=('extra-cmake-modules-git' 'git' 'qt5-tools')
+groups=('kf5')
+conflicts=(kwindowsystem)
+provides=(kwindowsystem)
+source=('git://anongit.kde.org/kwindowsystem.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd kwindowsystem
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kwindowsystem \
+ -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
+}