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 (720B)


      1 # Description: A set of utilities to manage software packages
      2 # URL: https://crux.nu/gitweb/?p=tools/pkgutils.git
      3 # Maintainer: Emmett1, emmett1 dot 2miligrams at protonmail dot com
      4 # Depends on: libarchive
      5 
      6 name=pkgutils
      7 version=5.40.11
      8 release=1
      9 source=(https://crux.nu/files/$name-$version.tar.xz
     10 	pkgmk.conf
     11 	pkgadd.conf
     12 	bsd-sha256sum)
     13 
     14 build () {
     15 	cd $name-$version
     16 	make DESTDIR=$PKG install
     17 	install -m644 $SRC/pkgmk.conf $PKG/etc/pkgmk.conf
     18 	install -m644 $SRC/pkgadd.conf $PKG/etc/pkgadd.conf
     19 
     20 	# alternative wrapper script for 'sha256sum --tag' used by pkgmk
     21 	# which is not in busybox's sha256sum
     22 	sed 's/sha256sum --tag/bsd-sha256sum/' -i $PKG/usr/bin/pkgmk
     23 	install -m755 $SRC/bsd-sha256sum $PKG/usr/bin
     24 }