PageRenderTime 38ms CodeModel.GetById 12ms RepoModel.GetById 1ms app.codeStats 0ms

/fdutils/PKGBUILD

https://bitbucket.org/axil42/aur-mirror
#! | 25 lines | 24 code | 1 blank | 0 comment | 0 complexity | b3fa6e4bc0e920912618765b3e39c99a MD5 | raw file
Possible License(s): IPL-1.0, Apache-2.0, LGPL-2.0, Unlicense, MPL-2.0-no-copyleft-exception, LGPL-2.1, JSON, GPL-3.0, MPL-2.0, CC0-1.0, CC-BY-SA-3.0, LGPL-3.0, WTFPL, BSD-2-Clause, 0BSD, BitTorrent-1.0, Cube, EPL-1.0, ISC, BSD-3-Clause, AGPL-3.0, GPL-2.0, MIT, AGPL-1.0, CC-BY-3.0
  1. # Contributor: Laurent Hilsz <laurent.hilsz@laposte.net>
  2. pkgname=fdutils
  3. pkgver=5.5
  4. pkgrel=3
  5. arch=('i686' 'x86_64')
  6. pkgdesc="Utilities for the Linux floppy driver, i.e. for formatting extra capacity disks"
  7. url="http://fdutils.linux.lu/index.html"
  8. makedepends=('texinfo' 'tcc')
  9. depends=('glibc' 'tcc' 'texinfo')
  10. source=(http://fdutils.linux.lu/$pkgname-$pkgver.tar.gz)
  11. md5sums=('2b8b65f52378158a4a21e455566b456d')
  12. install=fdutils.install
  13. options=('!strip' '!makeflags' '!buildflags')
  14. license=('GPL')
  15. build() {
  16. cd $srcdir/$pkgname-$pkgver
  17. install -d $pkgdir/etc
  18. export CC=tcc
  19. ./configure --prefix=$pkgdir/usr --sysconfdir=$pkgdir/etc \
  20. --infodir=$pkgdir/usr/share/info || return 1
  21. sed -i 's+-c -s -m+-c -m+g' src/Makefile || return 1
  22. make || return 1
  23. make install || return 1
  24. }