blob: a28a983e5b0d6943f640cebcc1ed1a90195d5bef (
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
37
38
39
40
|
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
# Contributor: MatMoul <matmoul at the google email domain which is .com>
pkgname=qt-sudo
pkgver=2.0.1
pkgrel=1
pkgdesc='A clone of LXQt sudo tool, without LXQt libs'
arch=('x86_64')
url='https://github.com/aarnt/qt-sudo.git'
license=('LGPL2.1')
depends=(
'gcc-libs' # libgcc_s.so libstdc++.so
'glibc' # libc.so
'qt6-base' # libQt6Core.so libQt6Gui.so libQt6Widgets.so
'sudo'
)
makedepends=(
'git'
'qt6-tools'
)
source=("git+https://github.com/aarnt/qt-sudo.git#tag=v${pkgver}")
sha256sums=('SKIP')
build() {
cd qt-sudo
echo "Starting build..."
qmake6 \
PREFIX="${pkgdir}/usr" \
QMAKE_CFLAGS="${CFLAGS}" \
QMAKE_CXXFLAGS="${CXXFLAGS}" \
QMAKE_LFLAGS="${LDFLAGS}"
make
}
package() {
cd qt-sudo
make install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|