summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 85d09be8f88ae4d0a9ac35ebe233b10ec5545af2 (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
# Maintainer: thegala <thegala at disroot dot org>
pkgname=icestudio-appimage
pkgver=0.11
pkgrel=1
pkgdesc="A real gamechanger in the world of Open Source FPGAs"
arch=('x86_64')
url='https://icestudio.io/'
license=('GPL2')
depends=('python' 'gconf')
makedep=('fakeroot')
provides=("icestudio")
conflicts=('icestudio')
source=("https://github.com/FPGAwars/icestudio/releases/download/v${pkgver}/icestudio-${pkgver}-linux64.AppImage"
        "icestudio.sh")
sha256sums=('SKIP' 'SKIP')
options=(!strip)
_filename=./icestudio-${pkgver}-linux64.AppImage

prepare() {
  cd "${srcdir}"
  chmod +x ${_filename}
  ${_filename} --appimage-extract > /dev/null 2>&1 &
}

package() {
  install -Dm755 "${srcdir}/${_filename}" "${pkgdir}/opt/appimages/icestudio.AppImage"
  install -Dm755 "${srcdir}/icestudio.sh" "${pkgdir}/usr/bin/icestudio"

  install -Dm644 "${srcdir}/squashfs-root/Icestudio.desktop" "${pkgdir}/usr/share/applications/icestudio.desktop"
}

# vim:set ts=2 sw=2 et: