mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-03-19 19:14:07 +00:00
23 lines
644 B
Bash
Executable File
23 lines
644 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 ${DESTDIR}${BINDIR}
|
|
install -m644 scratchpkg.conf scratchpkg.repo scratchpkg.alias ${DESTDIR}${CONFDIR}
|
|
|
|
install -m644 revdep.conf ${DESTDIR}${REVDEPCONF}
|