mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-02-05 08:28:00 +00:00
24 lines
708 B
Bash
Executable File
24 lines
708 B
Bash
Executable File
#!/bin/sh
|
|
|
|
BINDIR=/usr/bin
|
|
CONFDIR=/etc
|
|
CACHE_DIR=/var/cache/scratchpkg
|
|
PORT_DIR=/usr/ports
|
|
REVDEPD=/etc/revdep.d
|
|
REVDEPCONF=/etc/revdep.conf
|
|
|
|
install -d ${DESTDIR}${BINDIR}
|
|
install -d ${DESTDIR}${CONFDIR}
|
|
install -d ${DESTDIR}${PORT_DIR}
|
|
install -d ${DESTDIR}${REVDEPD}
|
|
|
|
install -dm777 ${DESTDIR}${CACHE_DIR}/packages
|
|
install -dm777 ${DESTDIR}${CACHE_DIR}/sources
|
|
install -dm777 ${DESTDIR}${CACHE_DIR}/work
|
|
|
|
install -m755 xchroot revdep pkgadd pkgdel pkgbuild pkgquery scratch updateconf \
|
|
pkgbase pkgdepends pkgrebuild pkgfix portcreate ${DESTDIR}${BINDIR}
|
|
install -m644 scratchpkg.conf scratchpkg.repo scratchpkg.alias ${DESTDIR}${CONFDIR}
|
|
|
|
install -m644 revdep.conf ${DESTDIR}${REVDEPCONF}
|