Browse code

First commit

Qurban Ullah authored on 27/02/2018 17:56:45
Showing 2 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,37 @@
1
+# $Id$
2
+# Maintainer: Qurban Ullah <qurbanullah@avouch.org>
3
+# Contributor: Qurban Ullah <qurbanullah@avouch.org>
4
+
5
+pkgname=cervisia
6
+pkgver=17.12.1
7
+pkgrel=1
8
+pkgdesc='CVS Frontend'
9
+url='http://kde.org/applications/development/cervisia/'
10
+arch=(i686 x86_64)
11
+license=(GPL LGPL FDL)
12
+groups=(kde-applications kdesdk)
13
+depends=(kdesu kparts hicolor-icon-theme)
14
+makedepends=(extra-cmake-modules python kdoctools)
15
+conflicts=(kdesdk-cervisia)
16
+replaces=(kdesdk-cervisia)
17
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
18
+sha1sums=('5a54ee9882af4ca1184b817a35dacfa5d36cd57f')
19
+
20
+prepare() {
21
+  mkdir -p build
22
+}
23
+
24
+build() {
25
+  cd build
26
+  cmake ../$pkgname-$pkgver \
27
+    -DCMAKE_BUILD_TYPE=Release \
28
+    -DCMAKE_INSTALL_PREFIX=/usr \
29
+    -DKDE_INSTALL_LIBDIR=lib \
30
+    -DBUILD_TESTING=OFF
31
+  make ${MAKEFLAGS}
32
+}
33
+
34
+package() {
35
+  cd build
36
+  make DESTDIR="$pkgdir" install
37
+}
0 38
new file mode 100755
... ...
@@ -0,0 +1,12 @@
1
+post_install() {
2
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
3
+    update-desktop-database -q
4
+}
5
+
6
+post_upgrade() {
7
+    post_install
8
+}
9
+
10
+post_remove() {
11
+    post_install
12
+}