blob: 957dee89926a5d1bb5b8c409d0b2844b4546b3b4 (
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
|
# Maintainer: Donald Carr<sirspudd at gmail dot com>
# set -x
# Uncomment for a debug build
#_qmake_args="CONFIG+=debug"
_pkgname=fetchdeeznutz
makedepends=('qt6-base' 'libgit2')
pkgname=${_pkgname}-git
provides=(fetchdeeznuts)
conflicts=(fetchdeeznuts)
pkgver=21
pkgrel=1
arch=('any')
url='https://github.com/sirspudd/fetchdeeznuts'
license=('MIT')
source=("git+https://github.com/sirspudd/${_pkgname}")
sha256sums=('SKIP')
options=('!strip')
pkgver () {
cd "$srcdir/${_pkgname}"
git rev-list --count HEAD
#git describe --tags --long | sed -r 's/^v//;s/-RC/RC/;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cmake \
-B build \
-D CMAKE_INSTALL_PREFIX='/usr' \
-S ${_pkgname}
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
}
|