crux-musl

Unnamed repository; edit this file 'description' to name the repository.
git clone https://codeberg.org/emmett1/crux-musl
Log | Files | Refs | README | LICENSE

Pkgfile (667B)


      1 # Description: Run commands in an environment faking root privileges
      2 # URL: http://packages.debian.org/unstable/utils/fakeroot
      3 # Maintainer: Emmett1, emmett1 dot 2miligrams at protonmail dot com
      4 
      5 name=fakeroot
      6 version=1.37.1.2
      7 release=1
      8 source=(https://deb.debian.org/debian/pool/main/f/$name/${name}_${version}.orig.tar.gz
      9 	fakeroot-no64.patch
     10 	fakeroot-stdint.patch
     11 	fix-format.patch
     12 	fix-shell-in-fakeroot.patch
     13 	xstatjunk.patch)
     14 
     15 build() {
     16 	cd $name-$version
     17 	for p in $SRC/*.patch; do
     18 		patch -Np1 -i $p
     19 	done
     20 	sed -i '/^SUBDIRS/d' doc/Makefile.am
     21 	export CFLAGS="-D_STAT_VER=0 $CFLAGS"
     22 	./bootstrap
     23 	./configure --prefix=/usr
     24 	make
     25 	make DESTDIR=$PKG install
     26 }