blob: 78a277a9b5889dad3c82577503d0d5e0619b9afc (
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
41
42
43
44
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
pkgname=appimageupdate-git
pkgver=2.0.0.alpha.1.20230526.r1.gd89e6bf
pkgrel=1
pkgdesc="Graphical front end to manage AppImage applications built using MauiKit"
arch=(x86_64)
url="https://github.com/AppImageCommunity/AppImageUpdate"
license=(MIT)
depends=(glibc gcc-libs cpr gpgme libgcrypt zsync2)
makedepends=(git cmake argagg nlohmann-json libxpm cairo librsvg libappimage)
provides=(appimageupdate)
conflicts=(appimageupdate)
options=(staticlibs)
source=("git+https://github.com/AppImageCommunity/AppImageUpdate.git")
sha256sums=('SKIP')
pkgver() {
cd AppImageUpdate
git describe --long --tags --exclude latest --exclude continuous | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd AppImageUpdate
[[ -d build ]] || mkdir build
}
build() {
cd AppImageUpdate/build
cmake .. -Wno-dev \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_SYSTEM_CPR=ON \
-DUSE_SYSTEM_ZSYNC2=ON \
-DUSE_SYSTEM_LIBAPPIMAGE=ON
make libappimageupdate
}
package() {
cd AppImageUpdate/build
make DESTDIR="${pkgdir}/" install
install -D ../LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|