summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ba29e25bde7cff3afdee8caf58a5c97b3a8d1257 (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
# Maintainer: Matthias gatto <uso.cosmo.ray at gmail dot com>
# Reference: PKGBUILD(5)

pkgname=magicraminstaller-git
pkgver=r28.849da5a
pkgrel=1
pkgdesc='A Magic RAM Installer'

arch=('any')
url='https://github.com/kz6fittycent/magicraminstaller'

license=(MIT)

pkgver() {
  cd "${srcdir}/magicraminstaller"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

makedepends=('git')
depends=('python')

source=("git+https://github.com/kz6fittycent/magicraminstaller")
sha256sums=("SKIP")


package() {
	install -Dm755 "${srcdir}/magicraminstaller/ram.py" "$pkgdir/usr/bin/ram.py"
	install -D "${srcdir}/magicraminstaller/LICENSE" "$pkgdir/usr/share/licenses/magicraminstaller/LICENSE"
}