[arch-commits] Commit in qgit/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Mon May 2 09:05:19 UTC 2022
Date: Monday, May 2, 2022 @ 09:05:17
Author: alerque
Revision: 1192192
upgpkg: qgit 2.10-2; add missing dep, fixes FS#74535
Modified:
qgit/trunk/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++++++++++++----------------
1 file changed, 23 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-02 08:48:44 UTC (rev 1192191)
+++ PKGBUILD 2022-05-02 09:05:17 UTC (rev 1192192)
@@ -1,5 +1,5 @@
-# Maintainer: schuay <jakob.gruber at gmail.com>
# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: schuay <jakob.gruber at gmail.com>
# Contributor: Andrea Scarpino <andrea at archlinux.org>
# Contributor: Allan McRae <allan at archlinux.org>
# Contributor: Dan McGee <dan at archlinux.org>
@@ -6,25 +6,32 @@
pkgname=qgit
pkgver=2.10
-pkgrel=1
-pkgdesc="A GIT GUI viewer built on Qt/C++"
-url='https://github.com/tibirna/qgit'
-arch=('x86_64')
-license=('GPL')
-makedepends=('cmake')
-depends=('qt5-base' 'git' 'hicolor-icon-theme')
-optdepends=('source-highlight')
-source=("${pkgname}::git+https://github.com/tibirna/qgit.git#tag=${pkgname}-${pkgver}")
+pkgrel=2
+pkgdesc='A GIT GUI viewer built on Qt/C++'
+url="https://github.com/tibirna/$pkgname"
+arch=(x86_64)
+license=(GPL)
+makedepends=(cmake)
+depends=(git
+ hicolor-icon-theme
+ qt5-base
+ qt5-svg)
+optdepends=(source-highlight)
+source=("$pkgname::git+https://github.com/tibirna/qgit.git#tag=$pkgname-$pkgver")
md5sums=('SKIP')
+prepare() {
+ cd "$pkgname"
+ mkdir -p build
+}
+
build() {
- cd ${pkgname}
- rm -rf build && mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
- make
+ cd "$pkgname/build"
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
+ make
}
package() {
- cd ${pkgname}/build
- make DESTDIR="${pkgdir}" install
+ cd "$pkgname/build"
+ make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list