Create Canon DSLR CR2 image statistics (exiftool & GNU Plot) and convert ML dual ISO CR2 files painlessly for post-processing
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
880 B

6 years ago
  1. # Maintainer: Pekka Helenius <fincer89 at hotmail DOT com>
  2. # Source code files by Trammell Hudson // Magic Lantern
  3. pkgname=magiclantern-bootablecard
  4. pkgver=1
  5. pkgrel=1
  6. pkgdesc='Create a Magic Lantern compatible SD card for Canon EOS cameras (enable boot flag).'
  7. arch=('i686' 'x86_64')
  8. license=('GPL')
  9. url='https://bitbucket.org/hudson/magic-lantern/src/tip/contrib/make-bootable/'
  10. depends=('exfat-dkms-git' 'coreutils' 'exfat-utils-nofuse' 'util-linux')
  11. makedepends=('gcc')
  12. source=(magiclantern-bootablecard.tar.gz)
  13. md5sums=('50a78cd16d2d05b78c0273fe53a59236')
  14. build() {
  15. gcc exfat_sum.c -I$srcdir/modules/lua/dietlibc/include/ -o $srcdir/exfat_sum
  16. }
  17. package() {
  18. mkdir -p $pkgdir/usr/bin/
  19. install -m755 $srcdir/{make_bootable.sh,exfat_sum} $pkgdir/usr/bin/
  20. mv $pkgdir/usr/bin/make_bootable.sh $pkgdir/usr/bin/ml-bootablecard
  21. chmod +x $pkgdir/usr/bin/ml-bootablecard
  22. }