blob: 381686bde215411c4b96101197280ff89c9a5747 (
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
|
# $Id$
# Maintainer: James Kittsmiller (AJSlye) <james@kittsmiller.com>
_pkgname=AppImageLauncher
pkgname=appimagelauncher-git
pkgver=1alpha+git20180413.08ff6b8
pkgrel=1
pkgdesc="A Helper application for running and integrating AppImages."
arch=('x86_64')
url="https://github.com/TheAssassin/AppImageLauncher"
license=('MIT')
depends=('qt5-base' 'fuse' 'cairo' 'binutils' 'desktop-file-utils' 'shared-mime-info' 'inotify-tools' 'libarchive')
makedepends=('git' 'cmake' 'wget' 'vim')
source=("$_pkgname::git+https://github.com/TheAssassin/$_pkgname")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "1alpha+git`date +%Y%m%d -u -d "$(git show -s --format=%ci $(git rev-parse HEAD))"`.%s" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/$_pkgname"
git submodule update --init --recursive
}
build() {
cd "$srcdir/$_pkgname"
cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr/ -DCMAKE_INSTALL_LIBDIR=/usr/lib
make
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir" install
# install license files
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|