blob: 8992ef9d59f99c5bc6e9410d3c8314c9f50f40bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
pkgname=guitar-git
pkgver=1.2.0.r440.g819d3d0
pkgrel=2
pkgdesc="Open source Git GUI Client"
arch=(x86_64 i686 armv7h aarch64)
url="https://soramimi.github.io/Guitar/"
license=(GPL-2.0-only)
depends=(qt6-base qt6-svg qt6-5compat git file)
makedepends=(git ruby qt6-tools ) #qscintilla-qt6
provides=(guitar)
conflicts=(guitar)
source=("git+https://github.com/soramimi/Guitar.git")
sha256sums=('SKIP')
pkgver() {
cd "Guitar"
git describe --long --tags --abbrev=7 --exclude continuous | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "Guitar"
qmake6 Guitar.pro
make
}
package() {
cd "Guitar"
install -Dm755 "_bin/Guitar" "${pkgdir}/usr/bin/guitar"
cd LinuxDesktop
install -D Guitar.svg -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps/"
install -D guitar.desktop -t "${pkgdir}/usr/share/applications/"
install -D guitar.appdata.xml -t "${pkgdir}/usr/share/metainfo/"
}
|