summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38040ae2ff121af25c109b8c54954b301b1101a4 (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
# Maintainer: Ave Ozkal <aurpub@ave.zone>
# Contributor: Nikos Fytilis <n-fit@live.com>

_name=fusee-nano
pkgname="$_name-git"
pkgver=0.4.0.gdde2492
pkgrel=1
pkgdesc="A minimalist re-implementation of the Fusée Gelée exploit, designed to run on embedded Linux devices. "
arch=('any')
url="https://github.com/DavidBuchanan314/fusee-nano"
license=('mit')
makedepends=('git')
source=("$_name::git+https://github.com/DavidBuchanan314/fusee-nano"
'wrapper.sh')
md5sums=(SKIP
SKIP)

pkgver() {
  cd $_name
  git describe --long --tags | tr - .
}

build() {
  cd $_name
  make
}

package() {
  cd $_name
  mkdir -p $pkgdir/usr/share/$_name/{bin,share}
  mkdir -p $pkgdir/usr/bin
  cp -r files "$pkgdir/usr/share/$_name/share"
  install -m 755 fusee-nano "${pkgdir}/usr/share/$_name/bin/fusee-nano"
  install -m 755 $srcdir/wrapper.sh "${pkgdir}/usr/bin/fusee-nano"
}