diff options
author | Pablo Lezaeta | 2016-06-13 15:57:09 -0400 |
---|---|---|
committer | Pablo Lezaeta | 2016-06-13 15:57:09 -0400 |
commit | f64bfaadd5e52e1182703e41594113f0d34beee6 (patch) | |
tree | d800c2f198391172897f3f8356c65b3a115e2aff | |
parent | 97e8684393b2953b0eb801ede671cd7e212528b6 (diff) | |
download | aur-f64bfaadd5e52e1182703e41594113f0d34beee6.tar.gz |
upkg
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
-rwxr-xr-x[-rw-r--r--] | .SRCINFO | 6 | ||||
-rwxr-xr-x[-rw-r--r--] | .gitignore | 0 | ||||
-rwxr-xr-x | PKGBUILD | 44 | ||||
-rwxr-xr-x[-rw-r--r--] | hfsutils-3.2.6-errno.patch | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | hfsutils-3.2.6-fix-tcl-8.6.patch | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | largerthan2gb.patch | 0 |
6 files changed, 37 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO index 83772efc6d20..187d8821ada4 100644..100755 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,9 @@ +# Generated by mksrcinfo v8 +# Mon Jun 13 19:56:20 UTC 2016 pkgbase = hfsutils - pkgdesc = A comprehensive software to permit manipulation of HFS volume + pkgdesc = A comprehensive software to permit manipulation of HFS volumes pkgver = 3.2.6 - pkgrel = 6 + pkgrel = 7 url = http://www.mars.org/home/rob/proj/hfs/ arch = i686 arch = x86_64 diff --git a/.gitignore b/.gitignore index 7d813751c966..7d813751c966 100644..100755 --- a/.gitignore +++ b/.gitignore @@ -2,8 +2,8 @@ pkgname=hfsutils pkgver=3.2.6 -pkgrel=6 -pkgdesc="A comprehensive software to permit manipulation of HFS volume" +pkgrel=7 +pkgdesc="A comprehensive software to permit manipulation of HFS volumes" arch=("i686" "x86_64") url="http://www.mars.org/home/rob/proj/hfs/" license=("GPL") @@ -17,17 +17,19 @@ source=("ftp://ftp.mars.org/pub/hfs/$pkgname-$pkgver.tar.gz" "hfsutils-3.2.6-fix-tcl-8.6.patch") prepare() { + + # Upstream bug, need patch, not build with default cppflags unset CPPFLAGS cd "${srcdir}/${pkgname}-${pkgver}" - # Fixed Makefile @INSTALL@ feature + # Fixed Makefile @INSTALL@ path patch -Np0 -i "${srcdir}/Makefile-install.patch" # Fix the errno issue on glibc-2.3.2+ patch -Np1 -i "${srcdir}/hfsutils-3.2.6-errno.patch" - # Add support for files larger than 2 GB, this is the 21 century + # Add support for files larger than 2 GB, like any dvd image patch -Np1 -i "${srcdir}/largerthan2gb.patch" # Fixed compilation with tcl-8.6+ @@ -36,28 +38,48 @@ prepare() { build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --without-tcl --without-tk - make + ./configure --prefix=${pkgdir}/usr \ + --sbindir=/usr/bin \ + --bindir=/usr/bin \ + --mandir=/usr/share/man \ + --without-tcl --without-tk + + make prefix="${pkgdir}/usr" \ + MANDEST="${pkgdir}/usr/share/man" \ + DESTDIR="${pkgdir}/usr" \ + BINDEST=${pkgdir}/usr/bin \ + SBINDEST=${pkgdir}/usr/bin + # change the without to with to add tcl and/or tk support cd "${srcdir}/${pkgname}-${pkgver}/hfsck" - make + make prefix="${pkgdir}/usr" \ + MANDEST="${pkgdir}/usr/share/man" \ + DESTDIR="${pkgdir}/usr" \ + BINDEST=${pkgdir}/usr/bin \ + SBINDEST=${pkgdir}/usr/bin } #check() { -# cd "$srcdir/$pkgname-$pkgver" +# cd "${srcdir}/${pkgname}-${pkgver}" # make -k check #} package() { cd "${srcdir}/${pkgname}-${pkgver}" msg "Installing to ${pkgdir}" - make prefix="${pkgdir}/usr" MANDEST="${pkgdir}/usr/share/man" install + + make prefix="${pkgdir}/usr" \ + MANDEST="${pkgdir}/usr/share/man" \ + DESTDIR="${pkgdir}/usr" \ + BINDEST=${pkgdir}/usr/bin \ + SBINDEST=${pkgdir}/usr/bin \ + install # Faulty makefile, install hfsck install -m 755 "${srcdir}/${pkgname}-${pkgver}/hfsck/hfsck" \ "${pkgdir}/usr/bin/hfsck" + cd "${pkgdir}/usr/bin" + ln -f "hfsck" "fsck.hfs" } diff --git a/hfsutils-3.2.6-errno.patch b/hfsutils-3.2.6-errno.patch index 6e25f794b220..6e25f794b220 100644..100755 --- a/hfsutils-3.2.6-errno.patch +++ b/hfsutils-3.2.6-errno.patch diff --git a/hfsutils-3.2.6-fix-tcl-8.6.patch b/hfsutils-3.2.6-fix-tcl-8.6.patch index 19f15424543c..19f15424543c 100644..100755 --- a/hfsutils-3.2.6-fix-tcl-8.6.patch +++ b/hfsutils-3.2.6-fix-tcl-8.6.patch diff --git a/largerthan2gb.patch b/largerthan2gb.patch index 423256b67d4f..423256b67d4f 100644..100755 --- a/largerthan2gb.patch +++ b/largerthan2gb.patch |