summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 186afca71c0d3fb9daeec47071f38046f957a637 (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=r22.754049b
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://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/LICENSE"
}