[arch-commits] Commit in kdiff3/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Aug 21 10:21:48 UTC 2018
Date: Tuesday, August 21, 2018 @ 10:21:48
Author: arojas
Revision: 332736
Update to a KF5 snapshot
Modified:
kdiff3/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++++++++++++--------------
1 file changed, 19 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-21 09:59:47 UTC (rev 332735)
+++ PKGBUILD 2018-08-21 10:21:48 UTC (rev 332736)
@@ -1,26 +1,31 @@
-# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
# Maintainer: Eric Bélanger <eric at archlinux.org>
pkgname=kdiff3
-pkgver=0.9.98
-pkgrel=6
+pkgver=0.9.98.git20180821
+pkgrel=1
+_commit=6febacced6f69bfd9c1a77762d01ce975d1b6203
pkgdesc="A KDE file comparator/merge tool"
-arch=('x86_64')
+arch=(x86_64)
url="https://kdiff3.sourceforge.net/"
-license=('GPL')
-depends=('kdebase-runtime')
-makedepends=('cmake' 'automoc4' 'docbook-xml')
-source=(https://downloads.sourceforge.net/sourceforge/kdiff3/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('1390b4ca9c58316de49cb0aabb433f14ebf2dc3f')
+license=(GPL)
+depends=(kparts hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools git)
+source=(git://git.kde.org/kdiff3#commit=$_commit)
+sha256sums=('SKIP')
+prepare() {
+ mkdir -p build
+}
+
build() {
- mkdir ${pkgname}-${pkgver}/release
- cd ${pkgname}-${pkgver}/release
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ cd build
+ cmake ../$pkgname \
+ -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
- cd ${pkgname}-${pkgver}/release
- make DESTDIR="${pkgdir}" install
+ cd build
+ make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list