blob: fe16888eb71e8da6dedc68d2587f4a7bd82c0ff9 (
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
|
# Maintainer: nano thirteen <nano13@gmx.net>
_pkgname=('trinitrotoluol')
pkgname=('trinitrotoluol-git')
pkgver=55
pkgrel=1
pkgdesc='A software for managing your supporters and your mailings)'
arch=('any')
licence=('gpl')
url='https://tambi-soft.github.io'
makedepends=('git')
depends=('qt5-base' 'qt5-webview' 'qt5-charts')
source=(${_pkgname}::git+https://github.com/tambi-soft/trinitrotoluol.git)
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
git rev-list --count HEAD
}
build() {
cd "$srcdir"/"$_pkgname"
qmake-qt5 -o Makefile trinitrotoluol.pro
make -j $(nproc)
make clean
}
package() {
install -D -m 755 ${srcdir}/${_pkgname}/debug/trinitrotoluol ${pkgdir}/usr/bin/trinitrotoluol
install -D -m 644 ${srcdir}/${_pkgname}/assets/logo.ico ${pkgdir}/usr/share/icons/hicolor/128x128/apps/trinitrotoluol_logo.ico
install -D -m 644 ${srcdir}/${_pkgname}/assets/trinitrotoluol.desktop ${pkgdir}/usr/share/applications/trinitrotoluol.desktop
}
|