summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2dd0469fe6c20a4e4b87a97aeab8fa31af6b1f69 (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
# Maintainer: Nixuge

pkgname=appimage-builder-bin
_pkgname=appimage-builder
pkgver=1.1.1
pkgrel=1
pkgdesc='GNU/Linux packaging solution using the AppImage format'
url=https://github.com/AppImageCrafters/appimage-builder
arch=(x86_64)
license=(MIT)
depends=("binutils" "desktop-file-utils" "fakeroot" "gdk-pixbuf2" "patchelf" "python-pip" "python-setuptools" "squashfs-tools" "strace" "wget" "zsync")
options=(!strip)
_tag="Continuous"
_appimage="appimage-builder-1.1.1.dev32+g2709a3b-x86_64.AppImage"
_desktop="org.appimage-crafters.appimage-builder.desktop"
source=("https://github.com/AppImageCrafters/appimage-builder/releases/download/${_tag}/${_appimage}")
sha256sums=('7569b710262a42de0d577ece8bfd0b917e9fdbd4a8d0437c29c635b0eaddd7bf')


package() {
	# AppImage
	install -Dm755 \
		"${srcdir}/${_appimage}" \
		"${pkgdir}/opt/${_pkgname}/${_pkgname}.AppImage"

    # Skipping desktop & icon since those don't make sense
    # for a tool like this

	# Desktop file
	# install -Dm644 \
	# 	"${srcdir}/squashfs-root/${_desktop}" \
	# 	"${pkgdir}/usr/share/applications/${_desktop}"

	# Icon images
	# install -dm755 "${pkgdir}/usr/share/"
	# cp -a \
	# 	"${srcdir}/squashfs-root/usr/share/icons" \
	# 	"${pkgdir}/usr/share/"

	# Symlink executable
	install -dm755 "${pkgdir}/usr/bin"
	ln -s \
		"/opt/${_pkgname}/${_pkgname}.AppImage" \
		"${pkgdir}/usr/bin/${_pkgname}"
}