gegl: Update from 0.3.30 to 0.3.32
[termux-packages] / packages / debootstrap / Makefile.patch
1 diff --git a/Makefile b/Makefile
2 index 8516803..0c61852 100644
3 --- a/Makefile
4 +++ b/Makefile
5 @@ -5,14 +5,12 @@ all:
6
7 clean:
8
9 -DSDIR=$(DESTDIR)/usr/share/debootstrap
10 +DSDIR=$(DESTDIR)$(PREFIX)/share/debootstrap
11 install:
12 mkdir -p $(DSDIR)/scripts
13 - mkdir -p $(DESTDIR)/usr/sbin
14
15 cp -a scripts/* $(DSDIR)/scripts/
16 - install -o root -g root -m 0644 functions $(DSDIR)/
17 + install -m 0644 functions $(DSDIR)/
18
19 - sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
20 - chown root:root $(DESTDIR)/usr/sbin/debootstrap
21 - chmod 0755 $(DESTDIR)/usr/sbin/debootstrap
22 + sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)$(PREFIX)/bin/debootstrap
23 + chmod 0755 $(DESTDIR)$(PREFIX)/bin/debootstrap