Various compilation scripts & patches for Linux programs.
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.

28 lines
844 B

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