Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Prashant Vaibhav <mercurysquad+arch@gmail.com>
- # Previous Maintainer: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
- # Contributor: Rubin Simons <rubin@xs4all.nl>
- pkgname=hfsprogs
- pkgver=332.14
- pkgrel=2
- pkgdesc="HFS+ filesystem utilities (mkfs, fsck, hfsplus)"
- arch=('i686' 'x86_64')
- license=('custom:APSL')
- url="http://gentoo-wiki.com/HOWTO_hfsplus#x86.2FPPC_Linux_port_from_OS_X_10.4.3_.2F_Darwin_8.3"
- #source=(http://darwinsource.opendarwin.org/tarballs/apsl/diskdev_cmds-332.14.tar.gz
- # the tarball is disappeared, so I uploaded it in my webspace
- source=(http://gentoo.osuosl.org/distfiles/diskdev_cmds-$pkgver.tar.gz \
- http://gentoo.osuosl.org/distfiles/diskdev_cmds-332.14_p1.patch.bz2
- license )
- md5sums=('30aec5dd1d37ada4ad2cafcf0005035c'
- 'eea059522e1d2451476c338a57cade91'
- '771f0a6036a80d929c07df49f9a3d909')
- build() {
- cd $startdir/src/
- cat diskdev_cmds-332.14_p1.patch | patch -p0
- cd diskdev_cmds-332.14
- make -f Makefile.lnx
- install -D -m755 newfs_hfs.tproj/newfs_hfs \
- $startdir/pkg/sbin/mkfs.hfsplus
- install -D -m755 fsck_hfs.tproj/fsck_hfs \
- $startdir/pkg/sbin/fsck.hfsplus
- ln -s mkfs.hfsplus $startdir/pkg/sbin/mkfs.hfs
- ln -s fsck.hfsplus $startdir/pkg/sbin/fsck.hfs
- install -D -m644 $startdir/src/license \
- $startdir/pkg/usr/share/licenses/hfsprogs/APSL
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement