summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSean Anderson2023-06-20 10:08:23 -0400
committerSean Anderson2023-06-20 10:08:23 -0400
commita438b09620548469933e9f1642623f2a9bd47f01 (patch)
treed6c74bea2639a289942de6840b39463320949ceb /PKGBUILD
parent4e020fbbadac4b9ae229b2ef5976dab16f774f9f (diff)
downloadaur-a438b09620548469933e9f1642623f2a9bd47f01.tar.gz
Compile sys/ioctl.h
Unfortunately, one of the recursive deps on this header doesn't exist. It's behind an include guard, but there's no way to - Define the appropriate headers - Modify the include path - Ignore errors piecemeal So we just ignore the exit status of h2ph.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5121d72d4df0..e1a1ffaf5847 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Sean Anderson <seanga2@gmail.com>
pkgname=mmdebstrap
pkgver=1.3.6
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="create a Debian chroot"
arch=('any')
@@ -43,7 +43,7 @@ package() {
source <(perl -V:vendorarch)
mkdir -p $pkgdir$vendorarch
- h2ph -d $pkgdir$vendorarch -a syscall.h
+ h2ph -d $pkgdir$vendorarch -a syscall.h sys/ioctl.h || true
mkdir -p $pkgdir/usr/bin
cp -a mmdebstrap $pkgdir/usr/bin/mmdebstrap