blob: 3abb13198bb1a5ce08ac0d7d89cb5cf93436f209 (
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
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Bernhard Landauer <bernhard@manjaro.org>
# Contributor: James Kittsmiller (AJSlye) <james@nulogicsystems.com>
# Contributor: yochananmarqos https://github.com/yochananmarqos
_pkgname=AppImageLauncher
pkgname=appimagelauncher
pkgver=2.1.2
pkgrel=1
pkgdesc="A Helper application for running and integrating AppImages."
arch=('x86_64')
url="https://github.com/TheAssassin/$_pkgname"
license=('MIT')
depends=('binutils'
'boost'
'cairo'
'desktop-file-utils'
'fuse'
'gtest'
'libarchive'
'libbsd'
'librsvg'
'qt5-base'
'shared-mime-info')
makedepends=('cmake' 'git' 'wget' 'vim' 'qt5-tools')
conflicts=('appimagelauncher-git')
source=("git+$url.git#tag=v$pkgver"
'appimage-binfmt-remove.hook')
sha256sums=('SKIP'
'72a2630cf79b8f90bc21eae1d9f40c07fe77ce22df46c511b500f514455d7c81')
prepare() {
cd $_pkgname
git submodule update --init --recursive
}
build() {
cd $_pkgname
cmake . \
-DCMAKE_INSTALL_PREFIX:PATH=/usr/ \
-DCMAKE_INSTALL_LIBDIR=lib \
-DUSE_SYSTEM_GTEST=ON \
-DUSE_SYSTEM_XZ=ON \
-DUSE_SYSTEM_LIBARCHIVE=ON
make
}
package() {
install -Dm644 -t $pkgdir/usr/share/libalpm/hooks *.hook
cd $_pkgname
# re-run CMake to populate list of library files to bundle
cmake .
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|