summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Alvarez2016-11-05 18:11:48 +0100
committerGustavo Alvarez2016-11-05 18:11:48 +0100
commit38c05fc4f701fc35b1b3ea616924a8251a26498b (patch)
treed2056c1aa616cbb9bd60bee81dc4362bfcf40619
downloadaur-38c05fc4f701fc35b1b3ea616924a8251a26498b.tar.gz
Initial commit
-rw-r--r--.SRCINFO23
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD49
3 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8c9d05a7055
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+# Generated by mksrcinfo v8
+# Sat Nov 5 17:11:48 UTC 2016
+pkgbase = kdialog-git
+ pkgdesc = KDialog can be used to show nice dialog boxes from shell scripts. (GIT version)
+ pkgver = 1.0.1036.60c9569
+ pkgrel = 1
+ url = https://projects.kde.org/projects/kde/applications/kdialog
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = extra-cmake-modules
+ makedepends = git
+ makedepends = python
+ depends = kdelibs4support
+ provides = kdialog
+ conflicts = kdebase-kdialog
+ conflicts = kdialog
+ source = git://anongit.kde.org/kdialog
+ sha256sums = SKIP
+
+pkgname = kdialog-git
+ pkgdesc = A utility for displaying dialog boxes from shell scripts. (GIT version)
+
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..338f05b28f9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Antonio Rojas <arojas@archlinux,org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdialog-git
+pkgver=1.0.1036.60c9569
+pkgrel=1
+pkgdesc="KDialog can be used to show nice dialog boxes from shell scripts. (GIT version)"
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/applications/kdialog'
+license=('LGPL')
+depends=('kdelibs4support')
+makedepends=('extra-cmake-modules'
+ 'git'
+ 'python'
+ )
+conflicts=('kdebase-kdialog'
+ 'kdialog'
+ )
+provides=('kdialog')
+source=('git://anongit.kde.org/kdialog')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd kdialog
+ _ver="$(cat src/kdialog.cpp | grep -m1 'i18n( ' | sed 's|i18n|ixxn|g' | cut -d '"' -f2)"
+ echo "${_ver}.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kdialog \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF
+ make
+}
+package() {
+ pkgdesc='A utility for displaying dialog boxes from shell scripts. (GIT version)'
+
+
+
+ make -C build DESTDIR="${pkgdir}" install
+}