Date: Saturday, March 4, 2017 @ 09:22:47
Author: arojas
Revision: 214849
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
hfsprogs/repos/community-staging-i686/
hfsprogs/repos/community-staging-i686/PKGBUILD
(from rev 214848, hfsprogs/trunk/PKGBUILD)
hfsprogs/repos/community-staging-i686/license
(from rev 214848, hfsprogs/trunk/license)
hfsprogs/repos/community-staging-i686/makefile.patch
(from rev 214848, hfsprogs/trunk/makefile.patch)
hfsprogs/repos/community-staging-x86_64/
hfsprogs/repos/community-staging-x86_64/PKGBUILD
(from rev 214848, hfsprogs/trunk/PKGBUILD)
hfsprogs/repos/community-staging-x86_64/license
(from rev 214848, hfsprogs/trunk/license)
hfsprogs/repos/community-staging-x86_64/makefile.patch
(from rev 214848, hfsprogs/trunk/makefile.patch)
-+
community-staging-i686/PKGBUILD | 60 +
community-staging-i686/license | 353 ++
community-staging-i686/makefile.patch | 10
community-staging-x86_64/PKGBUILD | 60 +
community-staging-x86_64/license| 353 ++
community-staging-x86_64/makefile.patch | 10
6 files changed, 846 insertions(+)
Copied: hfsprogs/repos/community-staging-i686/PKGBUILD (from rev 214848,
hfsprogs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-03-04 09:22:47 UTC (rev 214849)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Rustam Tsurik
+# Contributor: Prashant Vaibhav
+# Contributor: Alessio 'mOLOk' Bolognino
+# Contributor: Rubin Simons
+
+pkgname=hfsprogs
+pkgver=332.25
+pkgrel=15
+pkgdesc="HFS/HFS+ user space utils"
+arch=('i686' 'x86_64')
+depends=('libbsd' 'openssl')
+license=('custom:APSL')
+url="http://www.opensource.apple.com/;
+source=("https://opensource.apple.com/tarballs/diskdev_cmds/diskdev_cmds-${pkgver}.tar.gz;
+
"http://ftp.de.debian.org/debian/pool/main/h/hfsprogs/${pkgname}_${pkgver}-11.debian.tar.gz;
+"license"
+"makefile.patch")
+sha256sums=('74c9aeca899ed7f4bf155c65fc45bf0f250c0f6d57360ea953b1d536d9aa45e6'
+'62d9b8599c66ebffbc57ce5d776e20b41341130d9b27341d63bda08460ebde7c'
+'3bce072b604e0e9baa2151bff91b40915253bfb6d9d9e37445080f526ad486e2'
+'4d9e36010c8bf2b2186ff22b2b30654fb7156bfbbcff0fece717f851f316b6a4')
+
+prepare() {
+ # To build the package more than once you have to clear your sources tree
after first build
+ # or to use the same sources without patching them again (makepkg -e)
+ #
+ # Apply patches
+ cd "diskdev_cmds-${pkgver}"
+ for patch in ../debian/patches/*.patch ../makefile.patch
+ do
+msg2 "Applying patch ${patch##*/}..."
+patch -Np1 -i "${patch}"
+ done
+}
+
+build() {
+ cd "diskdev_cmds-${pkgver}"
+ make -f Makefile.lnx
+}
+
+package() {
+ # Create required package directories
+ install -m 755 -d "${pkgdir}/usr/bin"
+ install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m 755 -d "${pkgdir}/usr/share/${pkgname}"
+ install -m 755 -d "${pkgdir}/usr/share/man/man8/"
+ # Copy license file
+ install -m 644 "license" "${pkgdir}/usr/share/licenses/${pkgname}/APSL"
+ # Copy executable files
+ cd "diskdev_cmds-${pkgver}"
+ install -m 755 "newfs_hfs.tproj/newfs_hfs" "${pkgdir}/usr/bin/mkfs.hfsplus"
+ install -m 755 "fsck_hfs.tproj/fsck_hfs" "${pkgdir}/usr/bin/fsck.hfsplus"
+ # Copy shared data
+ install -m 644 "newfs_hfs.tproj/hfsbootdata.img"
"${pkgdir}/usr/share/${pkgname}/hfsbootdata"
+ # Copy man pages
+ install -m 644 "newfs_hfs.tproj/newfs_hfs.8"
"${pkgdir}/usr/share/man/man8/mkfs.hfsplus.8"
+ install -m 644 "fsck_hfs.tproj/fsck_hfs.8"
"${pkgdir}/usr/share/man/man8/fsck.hfsplus.8"
+}
Copied: hfsprogs/repos/community-staging-i686/license (from rev 214848,
hfsprogs/trunk/license)
===
--- community-staging-i686/license (rev 0)
+++ community-staging-i686/license 2017-03-04 09:22:47 UTC (rev 214849)
@@ -0,0 +1,353 @@
+Apple Public Source License
+
+Version 2.0 - August 6, 2003
+
+Please read this License carefully before downloading this software. By
+downloading or using this software, you are agreeing to be bound by the
+terms of this License. If you do not or cannot agree to the terms of
+this License, please do not download or use the software.
+
+1. General; Definitions. This License applies to any program or other
+work which Apple Computer, Inc. ("Apple") makes publicly available and
+which contains a notice placed by Apple identifying such program or work
+as "Original Code" and stating that it is