summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Lezaeta Reyes2017-05-28 21:00:43 -0400
committerPablo Lezaeta Reyes2017-05-28 21:00:43 -0400
commitf8d9088abb0877d28853ff467e3dc69696991a31 (patch)
treec2ba5d16347991d51d9cf42ca10767a09f8a6de6
parente627ddc4268ea529eab06cdc0a4ceea64c01eb17 (diff)
downloadaur-f8d9088abb0877d28853ff467e3dc69696991a31.tar.gz
move unset to build
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
-rwxr-xr-x.SRCINFO4
-rwxr-xr-xPKGBUILD12
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b1eb5f45bee7..3ee2edfde22c 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Mon Mar 13 01:56:40 UTC 2017
pkgbase = hfsutils
pkgdesc = A comprehensive software to permit manipulation of HFS volumes
pkgver = 3.2.6
- pkgrel = 9
+ pkgrel = 10
url = http://www.mars.org/home/rob/proj/hfs/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index e9a03cd75a1d..dd422e3009ac 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=hfsutils
pkgver=3.2.6
-pkgrel=9
+pkgrel=10
pkgdesc="A comprehensive software to permit manipulation of HFS volumes"
arch=("i686" "x86_64")
url="http://www.mars.org/home/rob/proj/hfs/"
@@ -17,10 +17,6 @@ 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 CFLAGS
-
cd "${srcdir}/${pkgname}-${pkgver}"
# Fixed Makefile @INSTALL@ path
@@ -38,6 +34,10 @@ prepare() {
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Upstream bug, need patch, not build with default cppflags
+ unset CPPFLAGS CFLAGS
+
./configure --prefix="${pkgdir}/usr" \
--sbindir="/usr/bin" \
--bindir="/usr/bin" \
@@ -49,6 +49,7 @@ build() {
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"
@@ -61,6 +62,7 @@ build() {
#check() {
# cd "${srcdir}/${pkgname}-${pkgver}"
+# # Check ALLWAYS fail
# make -k check
#}